mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2025-10-29 11:24:21 +00:00
Resolves #903: Flip V texture coordinates in sprite rendering to match MilkDrop orientation
This commit is contained in:
parent
765382738b
commit
890b78a985
@ -210,10 +210,10 @@ void MilkdropSprite::Draw(const Audio::FrameAudioData& audioData,
|
||||
float dtu = 0.5f;
|
||||
float dtv = 0.5f;
|
||||
|
||||
m_mesh.UVs().Set({{-dtu, -dtv},
|
||||
{dtu, -dtv},
|
||||
{-dtu, dtv},
|
||||
{dtu, dtv}});
|
||||
m_mesh.UVs().Set({{-dtu, dtv},
|
||||
{dtu, dtv},
|
||||
{-dtu, -dtv},
|
||||
{dtu, -dtv}});
|
||||
|
||||
for (auto& uv : m_mesh.UVs().Get())
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user