Rendering merge #65
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue