Rendering merge #65

Merged
Xenosas1337 merged 33 commits from SP3-1-Rendering into main 2022-09-28 20:42:03 +08:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit a2311a473e - Show all commits

View File

@ -126,6 +126,7 @@ namespace Sandbox
auto& transform = *SHADE::SHComponentManager::GetComponent_s<SHADE::SHTransformComponent>(testObj); auto& transform = *SHADE::SHComponentManager::GetComponent_s<SHADE::SHTransformComponent>(testObj);
transform.SetWorldPosition({1.0f, 1.0f, 1.0f});
transform.SetWorldRotation(0.0f, 0.0f + rotation, 0.0f); transform.SetWorldRotation(0.0f, 0.0f + rotation, 0.0f);
rotation += dt * 0.2f; rotation += dt * 0.2f;