mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-01 20:27:54 +08:00
spelling: transform
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -112,7 +112,7 @@ int main()
|
||||
lastEntity->addChild(model);
|
||||
lastEntity = lastEntity->children.back().get();
|
||||
|
||||
//Set tranform values
|
||||
//Set transform values
|
||||
lastEntity->transform.setLocalPosition({ 10, 0, 0 });
|
||||
lastEntity->transform.setLocalScale({ scale, scale, scale });
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ int main()
|
||||
ourEntity.addChild(model);
|
||||
lastEntity = ourEntity.children.back().get();
|
||||
|
||||
//Set tranform values
|
||||
//Set transform values
|
||||
lastEntity->transform.setLocalPosition({ x * 10.f - 100.f, 0.f, z * 10.f - 100.f });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user