Changed Entity to 3d axis and added a fpstimer that calculates the fps

This commit is contained in:
Ziver Koc 2007-03-27 17:51:02 +00:00
parent ec551064c4
commit 28c3cd0529
11 changed files with 222 additions and 72 deletions

View file

@ -94,7 +94,7 @@ public class Sprite extends Entity {
//the rotation
super.setRotationGL();
//and sets back the rotation so that the rotation pivot is the center of the sprite
super.setTranslationGL(-texture.getImageWidth()/2,-texture.getImageHeight()/2);
super.setTranslationGL(-texture.getImageWidth()/2,-texture.getImageHeight()/2,0);
// bind to the appropriate texture for this sprite
texture.bindGL();