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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue