WalkerCamera因为无人物参数,改名为ControlCamera

This commit is contained in:
hyzboy 2019-06-15 13:05:20 +08:00
parent 4cc94b1fd5
commit 976f182252
2 changed files with 4 additions and 4 deletions

View File

@ -233,7 +233,7 @@ private:
protected: protected:
WalkerCamera camera; ControlCamera camera;
float move_speed=1; float move_speed=1;
Vector2f mouse_last_pos; Vector2f mouse_last_pos;

View File

@ -43,9 +43,9 @@ namespace hgl
};//struct Camera };//struct Camera
/** /**
* *
*/ */
struct WalkerCamera:public Camera struct ControlCamera:public Camera
{ {
protected: protected:
@ -116,7 +116,7 @@ namespace hgl
eye=center+(eye-center)*pos; eye=center+(eye-center)*pos;
} }
};//struct WalkerCamera };//struct ControlCamera
}//namespace graph }//namespace graph
}//namespace hgl }//namespace hgl
#endif//HGL_GRAPH_CAMERA_INCLUDE #endif//HGL_GRAPH_CAMERA_INCLUDE