OpenGL - C++: Free Camera in Opengl Development Cookbook -
OpenGL - C++: Free Camera in Opengl Development Cookbook -
recently reviewed in next code create utilize of photographic camera fps style.
code, function: onmousemove
when capturing mouse movements , calculate difference between old motion , new split result 5 , insert new mouse coordinates in array can implement mouse filtering smooth. question is, why when calculating difference between mouse coordinates divided 5?
since they're dividing 5, looks scaling factor made motion have desired speed. empirical tweaking of factor.
c++ opengl mouse glut
Comments
Post a Comment