Changed Entity to 3d axis and added a fpstimer that calculates the fps
This commit is contained in:
parent
ec551064c4
commit
28c3cd0529
11 changed files with 222 additions and 72 deletions
|
|
@ -39,7 +39,7 @@ public class InGameState extends GameState{
|
|||
|
||||
@Override
|
||||
public void update() {
|
||||
sprite1.getLocation().add(0.5f);
|
||||
sprite1.getLocation().add(new Vector2f(0.5f,0.5f));
|
||||
sprite1.getRotation().add(0, 0, 0.5f);
|
||||
sound1.getLocation().add(new Vector2f(1,0));
|
||||
rootNode.update();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue