Bump CMake version, fix warnings

This commit is contained in:
2021-08-09 19:16:04 -07:00
parent dff00680fa
commit 4040a48e40
9 changed files with 41 additions and 40 deletions

View File

@@ -127,8 +127,8 @@ void Matrix2x3::translate(const Vector2 &v)
void Matrix2x3::rotate(float angle) {
Matrix2x3 newMatrix;
newMatrix.init();
newMatrix.c[0] = cos(angle);
newMatrix.c[1] = -sin(angle);
newMatrix.c[0] = cosf(angle);
newMatrix.c[1] = -sinf(angle);
newMatrix.c[2] = -newMatrix.c[1];
newMatrix.c[3] = newMatrix.c[0];