Tweak model transform so walking looks right
This commit is contained in:
1 parent
f4096b5a07
commit
7bc84e9465
1 file changed
+2
-2
@@ -74,8 +74,8 @@ int main(int argc, char *argv[])
|
||||
.proj = mat4_perspective((float)W / H, PI / 8, 0.1, 10.0),
|
||||
};
|
||||
|
||||
const mat4_t rot = MAT4_ROTATE_Y(PI / 128);
|
||||
animation_start(&anim, &model);
|
||||
const mat4_t rot = MAT4_ROTATE_Y(PI / 170);
|
||||
animation_start(&anim, &model, 0);
|
||||
|
||||
while (!glfwWindowShouldClose(window)) {
|
||||
glfwPollEvents();
|
||||
|
||||
Reference in new issue
Block a user