diff options
Diffstat (limited to 'c2.cpp')
-rw-r--r-- | c2.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -429,19 +429,19 @@ extern "C" int entrypoint() { monkey->transform = m4f::translate( m4f::identity(), v3f(0.0f, 0.0f, 0.0f) - )/* * m4f::rotate( + ) * m4f::rotate( m4f::identity(), rot, raxis - )*/; + ); monkey2->transform = m4f::translate( m4f::identity(), v3f(2.0f, 0.0f, 2.0f) - )/* * m4f::rotate( + ) * m4f::rotate( m4f::identity(), rot * 2.0f, v3f(1.0f, 0.0f, 0.0f) - )*/; + ); camera.asp = (float)bb.w / (float)bb.h; camera.update(*app); scene.update(camera, dev); @@ -469,7 +469,7 @@ extern "C" int entrypoint() { ctx.debug_pop(); r += 10; - rot += 5.0f * app->dt; + rot += 1.0f * app->dt; frame++; dev->present(); app->end(); |