Skip to content

Commit

Permalink
oopes
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Sep 24, 2024
1 parent 6cdbb75 commit 720b656
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/math/Mat3x3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ Mat3x3 Mat3x3::outputProjection(const Vector2D& size, eTransform transform) {
// Rotation + reflection
mat.matrix[0] = x * t.matrix[0];
mat.matrix[1] = x * t.matrix[1];
mat.matrix[3] = y * -t.matrix[3];
mat.matrix[4] = y * -t.matrix[4];
mat.matrix[3] = y * t.matrix[3];
mat.matrix[4] = y * t.matrix[4];

// Translation
mat.matrix[2] = -copysign(1.0f, mat.matrix[0] + mat.matrix[1]);
Expand Down

0 comments on commit 720b656

Please sign in to comment.