added camera and removed old sound dident work whit the sound system. There is one problem whit the sound system its to quiet

This commit is contained in:
Ziver Koc 2007-03-27 22:51:23 +00:00
parent 28c3cd0529
commit 448fca2fdf
19 changed files with 833 additions and 36 deletions

View file

@ -84,8 +84,6 @@ public class Sprite extends Entity {
public void render() {
// store the current model matrix
GL11.glPushMatrix();
//Reset The Current Modelview Matrix
GL11.glLoadIdentity();
//Sets the scale of the sprite
super.setScaleGL();
@ -118,9 +116,6 @@ public class Sprite extends Entity {
}
GL11.glEnd();
//Reset The Current Modelview Matrix
GL11.glLoadIdentity();
// restore the model view matrix to prevent contamination
GL11.glPopMatrix();
}