spin cube

This commit is contained in:
Luca Conte 2024-04-24 13:40:02 +02:00
parent ae882e31bb
commit aba9d67151
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}