WalkerCamera因为无人物参数,改名为ControlCamera
This commit is contained in:
parent
4cc94b1fd5
commit
976f182252
@ -233,7 +233,7 @@ private:
|
||||
|
||||
protected:
|
||||
|
||||
WalkerCamera camera;
|
||||
ControlCamera camera;
|
||||
float move_speed=1;
|
||||
|
||||
Vector2f mouse_last_pos;
|
||||
|
@ -43,9 +43,9 @@ namespace hgl
|
||||
};//struct Camera
|
||||
|
||||
/**
|
||||
* 行走模拟像机
|
||||
* 简单可控像机
|
||||
*/
|
||||
struct WalkerCamera:public Camera
|
||||
struct ControlCamera:public Camera
|
||||
{
|
||||
protected:
|
||||
|
||||
@ -116,7 +116,7 @@ namespace hgl
|
||||
|
||||
eye=center+(eye-center)*pos;
|
||||
}
|
||||
};//struct WalkerCamera
|
||||
};//struct ControlCamera
|
||||
}//namespace graph
|
||||
}//namespace hgl
|
||||
#endif//HGL_GRAPH_CAMERA_INCLUDE
|
||||
|
Loading…
x
Reference in New Issue
Block a user