add transform class, some code tweaks
This commit is contained in:
@ -78,6 +78,7 @@ namespace Example
|
||||
|
||||
void OnUpdate(float ts)
|
||||
{
|
||||
/*
|
||||
Mat4 transform = GetTransform();
|
||||
Vec3 translation = transform.Translation;
|
||||
translation.Y += ts * speed;
|
||||
@ -91,6 +92,7 @@ namespace Example
|
||||
transform.Translation = translation;
|
||||
|
||||
SetTransform(transform);
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user