Created deg struct for better usage of degree
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user