Sun, 19 Dec 2010 20:30:38 +0000
Fix a crash on receiving a file with no preview that I just introduced
with the new functions. The preview pointer/size was left
uninitialized if there wasn't one.
#include "glm.h" struct shark_struct{ GLint* faces, *lids, *fins, *eyes, *iris, *pupil; GLMmodel** m_faces, **m_lids, **m_fins, **m_eyes, **m_iris, **m_pupil; int curr_face, curr_fin, curr_left_lid, curr_right_lid, curr_right_eye, curr_left_eye, curr_pupil, eye_count; float curr_fin_angle; }; void init_shark(FACE f);