Center/WorldCenter/LocalCenter use Vector4f instead Vector3f.
This commit is contained in:
parent
08fb9ec6d1
commit
fa986d369f
@ -32,9 +32,9 @@ namespace hgl
|
||||
AABB LocalBoundingBox; ///<本地坐标绑定盒
|
||||
AABB WorldBoundingBox; ///<世界坐标绑定盒
|
||||
|
||||
Vector3f Center; ///<中心点
|
||||
Vector3f LocalCenter; ///<本地坐标中心点
|
||||
Vector3f WorldCenter; ///<世界坐标中心点
|
||||
Vector4f Center; ///<中心点
|
||||
Vector4f LocalCenter; ///<本地坐标中心点
|
||||
Vector4f WorldCenter; ///<世界坐标中心点
|
||||
|
||||
public:
|
||||
|
||||
@ -97,9 +97,9 @@ namespace hgl
|
||||
virtual const AABB & GetLocalBoundingBox ()const{return LocalBoundingBox;} ///<取得本地坐标绑定盒
|
||||
virtual const AABB & GetWorldBoundingBox ()const{return WorldBoundingBox;} ///<取得世界坐标绑定盒
|
||||
|
||||
virtual const Vector3f & GetCenter ()const{return Center;} ///<取得中心点
|
||||
virtual const Vector3f & GetLocalCenter ()const{return LocalCenter;} ///<取得本地坐标中心点
|
||||
virtual const Vector3f & GetWorldCenter ()const{return WorldCenter;} ///<取得世界坐标中心点
|
||||
virtual const Vector4f & GetCenter ()const{return Center;} ///<取得中心点
|
||||
virtual const Vector4f & GetLocalCenter ()const{return LocalCenter;} ///<取得本地坐标中心点
|
||||
virtual const Vector4f & GetWorldCenter ()const{return WorldCenter;} ///<取得世界坐标中心点
|
||||
|
||||
public: //渲染列表相关方法
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user