Getting there...?

This commit is contained in:
2024-04-02 16:28:09 -05:00
parent 57e1a17dd2
commit 7baa5bdb6d
3 changed files with 11 additions and 6 deletions

View File

@@ -30,9 +30,9 @@ namespace GTETest {
return true;
}
const auto matrix = GTE::MATRIX::rotation(0, 0, rotation);
GTE::set_trans_matrix(matrix);
GTE::set_rot_matrix(matrix);
auto matrix = GTE::MATRIX::rotation(0, rotation, rotation);
matrix.trans[0] = (Assets::Main::DoenerFishInfo.size.width/2);
matrix.trans[1] = (Assets::Main::DoenerFishInfo.size.height/2);
doener_fish.apply(matrix);
rotation += 5_DEG;