From aba9d6715100a5ba980171b0f8f5d161c961ac2c Mon Sep 17 00:00:00 2001 From: Luca Conte Date: Wed, 24 Apr 2024 13:40:02 +0200 Subject: [PATCH] spin cube --- u06-2/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/u06-2/main.c b/u06-2/main.c index a67317b..abd322a 100644 --- a/u06-2/main.c +++ b/u06-2/main.c @@ -323,8 +323,8 @@ void draw(void) { scaleVec.x = 1.0f; scaleVec.y = 0.3f; scaleVec.z = 1.0f; - rotateVec.x = 0.0f; - rotateVec.y = pi / 4; + rotateVec.x = 0; + rotateVec.y = stepi * 2; drawCube(&position, &scaleVec, &rotateVec); }