added material editing in mesh panel. Renamed mesh component to model component.

This commit is contained in:
a.pilote
2022-07-17 14:15:11 -04:00
parent dbec248d8a
commit 5fb1e376c2
13 changed files with 298 additions and 28 deletions

View File

@@ -1196,10 +1196,10 @@ namespace Nuake {
auto ent = Engine::GetCurrentScene()->CreateEntity("Trenchbroom map");
ent.AddComponent<QuakeMapComponent>();
}
if (ImGui::MenuItem("Mesh"))
if (ImGui::MenuItem("Model"))
{
auto ent = Engine::GetCurrentScene()->CreateEntity("Mesh");
ent.AddComponent<MeshComponent>();
auto ent = Engine::GetCurrentScene()->CreateEntity("Model");
ent.AddComponent<ModelComponent>();
}
ImGui::EndMenu();
}