Made bounding volume handing part of SceneNodes

Former-commit-id: d09d06ac4515ce09aa16fd92dd045c2a06730a99
This commit is contained in:
Lynix
2015-01-20 20:35:16 +01:00
parent bce3cadfd5
commit 8a3c410d60
19 changed files with 127 additions and 229 deletions

View File

@@ -225,6 +225,11 @@ int main()
bool smoothMovement = true;
NzVector3f targetPos = camera.GetPosition();
NzTextSprite text;
text.SetParent(scene);
text.Update(NzSimpleTextDrawer::Draw("Hello world !", 72));
text.Scale(0.1f);
// Début de la boucle de rendu du programme
while (window.IsOpen())
{