citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 38f44ce9313a6ea88067dbd5f6aa498674a58714
parent 17d03c825762147b5b8d52cbc87c35d7070daa94
Author: Kyle Milz <kyle@0x30.net>
Date:   Sat, 17 Dec 2016 19:44:18 -0700

src: remove advance_frame()

Diffstat:
Msrc/gl_view.cc | 15---------------
1 file changed, 0 insertions(+), 15 deletions(-)

diff --git a/src/gl_view.cc b/src/gl_view.cc @@ -408,23 +408,8 @@ View::motion_func(int x, int y) } void -View::advance_frame(long dtime) -{ - if (animate) { - float dquat[4]; - //axis_to_quat (rot_axis, rot_speed * dtime, dquat); - //add_quats (dquat, quat, quat); - num_frames++; - } -} - -void View::display(glyphy_extents_t const &extents) { - long new_time = current_time (); - advance_frame(new_time - last_frame_time); - last_frame_time = new_time; - int viewport[4]; glGetIntegerv (GL_VIEWPORT, viewport); GLint width = viewport[2];