Home
last modified time | relevance | path

Searched refs:camera_roll_rate (Results 1 – 2 of 2) sorted by last modified time

/dports/graphics/fracplanet/fracplanet-0.5.1/
H A Dtriangle_mesh_viewer.h112 float camera_roll_rate; variable
H A Dtriangle_mesh_viewer.cpp35 ,camera_roll_rate(0.0f) in TriangleMeshViewer()
269 camera_roll_rate=0.0f; in reset()
282 camera_roll_rate=0.0f; in tick()
283 if (keypressed_arrow_left || keypressed_mouse_left) camera_roll_rate+=0.5f; in tick()
284 if (keypressed_arrow_right || keypressed_mouse_right) camera_roll_rate-=0.5f; in tick()
293 const XYZ camera_right_rolled=camera_right+(dt*camera_roll_rate)*camera_up; in tick()
294 const XYZ camera_up_rolled=camera_up-(dt*camera_roll_rate)*camera_right; in tick()
313 msg << "Velocity:" << camera_velocity << " Roll rate:" << camera_roll_rate << " "; in tick()