瀏覽代碼

Initialize mCameraRotation to (0, 0, 0).

thecelloman 12 年之前
父節點
當前提交
4e65e1014b
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Engine/source/T3D/guiObjectView.cpp

+ 1 - 0
Engine/source/T3D/guiObjectView.cpp

@@ -103,6 +103,7 @@ GuiObjectView::GuiObjectView()
       mMountNodeName( "mount0" ),
       mMountNode( -1 ),
       mCameraSpeed( 0.01f ),
+	  mCameraRotation( 0.0f, 0.0f, 0.0f ),
       mLightColor( 1.0f, 1.0f, 1.0f ),
       mLightAmbient( 0.5f, 0.5f, 0.5f ),
       mLightDirection( 0.f, 0.707f, -0.707f )