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

@ -78,6 +78,15 @@ public class Vector3f {
z += i.getZ();
}
/**
* Add to the vector
* @param i The amount to add
*/
public void add(Vector2f i){
x += i.getX();
y += i.getY();
}
/**
* Add to the vector
* @param x The value to add to the x value