Ignore:
Timestamp:
Apr 20, 2012, 10:01:16 PM (8 years ago)
Author:
sam
Message:

tutorial: some refactoring in the tutorials.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/test/tutorial/02_cube.cpp

    r1241 r1242  
    8282
    8383        mat4 anim = mat4::rotate(m_angle, vec3(0, 1, 0));
    84         mat4 model = mat4::translate(vec3(0, 0, -4));
     84        mat4 model = mat4::translate(vec3(0, 0, -4.5));
    8585        mat4 view = mat4::lookat(vec3(0, 2, 0), vec3(0, 0, -4), vec3(0, 1, 0));
    8686        mat4 proj = mat4::perspective(45.0f, 640.0f, 480.0f, 0.1f, 10.0f);
Note: See TracChangeset for help on using the changeset viewer.