Changeset 1617
- Timestamp:
- Jul 9, 2012, 8:42:13 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/BtPhysTest.cpp
r1616 r1617 61 61 vec3(0, 1, 0)); 62 62 m_camera->SetRotation(quat::fromeuler_xyz(0.f, 0.f, 0.f)); 63 m_camera->SetPerspective( 90.f, 1280.f, 960.f, .1f, 1000.f);63 m_camera->SetPerspective(45.f, 1280.f, 960.f, .1f, 1000.f); 64 64 //m_camera->SetOrtho(1280.f / 6, 960.f / 6, -1000.f, 1000.f); 65 65 Ticker::Ref(m_camera); … … 105 105 for (int z=0; z < 5; z++) 106 106 { 107 PhysicsObject* new_physobj = new PhysicsObject(m_simulation, 10 .f,108 vec3(-20.f, 20.f, -20.f) +109 vec3( 4.f * (float)x, 4.f * (float)y, 4.f * (float)z));107 PhysicsObject* new_physobj = new PhysicsObject(m_simulation, 1000.f, 108 vec3(-20.f, 15.f, -20.f) + 109 vec3(8.f * (float)x, 8.f * (float)y, 8.f * (float)z)); 110 110 m_physobj_list << new_physobj; 111 111 Ticker::Ref(new_physobj);
Note: See TracChangeset
for help on using the changeset viewer.