This commit is contained in:
2025-05-13 02:24:09 +03:00
commit 46337bdeec
149 changed files with 15503 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#ifndef BoundsView_h__
#define BoundsView_h__
#include <RenderFramework/ObjectsFactory.h>
LOBJECT(BoundsView, Component)
public:
void tick(float deltaTime) override {
LEngine::Instance()->GetActiveScene()->GetGizmos().SetMatrix(transform()->GetGlobalTransform());
LEngine::Instance()->GetActiveScene()->GetGizmos().DrawBounds(gameObject->GetComponent<MeshRenderer>()->GetMesh()->GetBounds());
}
};
#endif // BoundsView_h__