mirror of
https://github.com/dpethes/rerogue.git
synced 2025-06-07 18:58:32 +02:00
viewer: y coord is flipped for display, so flip x too; otherwise the model looks mirrored
This commit is contained in:
parent
5f714ceef5
commit
ce9c38a111
@ -87,8 +87,9 @@ begin
|
||||
v.y := FixRange(fg.vertices[i].y);
|
||||
v.z := FixRange(fg.vertices[i].z);
|
||||
//flip Y for OpenGL coord system, otherwise the model is upside down.
|
||||
//Causes flipping of the texture too, compared to what the game shows
|
||||
//Flip x coord too, otherwise the model looks mirrored
|
||||
v.y := -v.y;
|
||||
v.x := -v.x;
|
||||
_vertices.Add(v);
|
||||
group_vertices.Add(v);
|
||||
end;
|
||||
|
Loading…
x
Reference in New Issue
Block a user