]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/camwindow.cpp
radiant/camwindow, radiant/xywindow: Fix use of uninitialized values
[xonotic/netradiant.git] / radiant / camwindow.cpp
index d3dbf3c5828c8ecb562ecf3497fa0cdb26e34513..f157b87e2bd811cfe997a7b6f0284bb6449f08b3 100644 (file)
@@ -171,7 +171,10 @@ struct camera_t
                origin( 0, 0, 0 ),
                angles( 0, 0, 0 ),
                color( 0, 0, 0 ),
+               projection( g_matrix4_identity ),
+               modelview( g_matrix4_identity ),
                movementflags( 0 ),
+               m_keycontrol_timer(),
                m_keymove_handler( 0 ),
                fieldOfView( 90.0f ),
                m_mouseMove( motionDelta, this ),