Added rotation capability and added a new calss Vector3f that holds 3 float values for ex rotation

This commit is contained in:
Ziver Koc 2007-03-17 16:29:39 +00:00
parent c0c78e74dc
commit dd696b2760
9 changed files with 208 additions and 17 deletions

View file

@ -30,6 +30,7 @@ public class InGameState extends GameState{
@Override
public void update() {
sprite1.getLocation().add(0.1f);
sprite1.getRotation().add(0, 0, 0.5f);
sound1.getLocation().add(new Vector2f(1,0));
rootNode.update();
}