Added light and camera gizmo.

This commit is contained in:
a.pilote
2022-07-17 17:26:40 -04:00
parent 5fb1e376c2
commit b41f00c020
7 changed files with 66 additions and 10 deletions

View File

@@ -44,7 +44,6 @@ namespace Nuake
SERIALIZE_OBJECT_REF_LBL("WrenScriptComponent", GetComponent<WrenScriptComponent>());
if (HasComponent<CharacterControllerComponent>())
SERIALIZE_OBJECT_REF_LBL("CharacterControllerComponent", GetComponent<CharacterControllerComponent>());
if (HasComponent<BoxColliderComponent>())
SERIALIZE_OBJECT_REF_LBL("BoxColliderComponent", GetComponent<BoxColliderComponent>());
if (HasComponent<ModelComponent>())
@@ -66,7 +65,6 @@ namespace Nuake
DESERIALIZE_COMPONENT(ModelComponent);
DESERIALIZE_COMPONENT(WrenScriptComponent);
DESERIALIZE_COMPONENT(CharacterControllerComponent);
//DESERIALIZE_COMPONENT(BSPBrushComponent);
DESERIALIZE_COMPONENT(BoxColliderComponent);
return true;
}
@@ -83,7 +81,6 @@ namespace Nuake
this->m_Scene = ent.m_Scene;
}
Entity::Entity()
{
this->m_EntityHandle = (entt::entity)-1;