Created deg struct for better usage of degree

This commit is contained in:
2024-04-03 20:59:30 -05:00
parent 74a483da28
commit d0aa1d43d2
5 changed files with 74 additions and 42 deletions

View File

@@ -15,7 +15,7 @@ namespace GTETest {
Make::PageClut(Assets::Main::DoenerFishInfo.tim.get_clut_position()),
GPU::Color24::Grey()
));
static auto rotation = 0_DEG;
static auto rotation = 0.0_deg;
static void setup() {
Shared::back_menu.reset();
@@ -35,7 +35,7 @@ namespace GTETest {
GTE::TRANSFERVECTOR::translated((Assets::Main::DoenerFishInfo.size.width/2), (Assets::Main::DoenerFishInfo.size.height/2))
};
doener_fish.apply(matrix);
rotation += 5_DEG;
rotation += 5.0_deg;
return false;
}