From 30bb77d43760b53fa8ece0eb6ff5a581ce4dc32f Mon Sep 17 00:00:00 2001 From: hyzboy Date: Wed, 17 Jul 2024 01:38:46 +0800 Subject: [PATCH] removed Center/LocalCenter/WorldCenter from SceneNode. --- CMCore | 2 +- inc/hgl/graph/SceneNode.h | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/CMCore b/CMCore index 0f236d9b..b07a4bb5 160000 --- a/CMCore +++ b/CMCore @@ -1 +1 @@ -Subproject commit 0f236d9bc06803cce037fb6391c123cc99e81b90 +Subproject commit b07a4bb5be991df77d601c78924f15b5ee8c95cf diff --git a/inc/hgl/graph/SceneNode.h b/inc/hgl/graph/SceneNode.h index d8939251..c6e53517 100644 --- a/inc/hgl/graph/SceneNode.h +++ b/inc/hgl/graph/SceneNode.h @@ -22,10 +22,6 @@ namespace hgl AABB LocalBoundingBox; ///<本地坐标绑定盒 //AABB WorldBoundingBox; ///<世界坐标绑定盒 - Vector4f Center; ///<中心点 - Vector4f LocalCenter; ///<本地坐标中心点 - Vector4f WorldCenter; ///<世界坐标中心点 - Renderable *render_obj=nullptr; ///<可渲染实例 public: @@ -98,10 +94,6 @@ namespace hgl virtual const AABB & GetBoundingBox ()const{return BoundingBox;} ///<取得绑定盒 virtual const AABB & GetLocalBoundingBox ()const{return LocalBoundingBox;} ///<取得本地坐标绑定盒 // virtual const AABB & GetWorldBoundingBox ()const{return WorldBoundingBox;} ///<取得世界坐标绑定盒 - - virtual const Vector4f & GetCenter ()const{return Center;} ///<取得中心点 - virtual const Vector4f & GetLocalCenter ()const{return LocalCenter;} ///<取得本地坐标中心点 - virtual const Vector4f & GetWorldCenter ()const{return WorldCenter;} ///<取得世界坐标中心点 };//class SceneNode }//namespace graph }//namespace hgl