Package zombie.core.skinnedmodel
Class Vector3
java.lang.Object
zombie.core.skinnedmodel.Vector3
public class Vector3
extends java.lang.Object
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Vector3
add(float x, float y, float z)
Vector3
add(Vector3 vec)
Vector3
cross(Vector3 vec)
float
dot(Vector3 vec)
float
length()
Vector3
mul(float f)
Vector3
mul(float x, float y, float z)
Vector3
mul(Vector3 vec)
Vector3
normalize()
Vector3
reset()
Vector3
set(float x, float y, float z)
Vector3
set(Vector3 vec)
Vector3
sub(float x, float y, float z)
Vector3
sub(Vector3 vec)
float
x()
Vector3
x(float x)
float
y()
Vector3
y(float y)
float
z()
Vector3
z(float z)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Vector3
public Vector3() -
Vector3
public Vector3(float x, float y, float z) -
Vector3
-
-
Method Details
-
x
public float x() -
x
-
y
public float y() -
y
-
z
public float z() -
z
-
set
-
set
-
reset
-
length
public float length() -
normalize
-
dot
-
cross
-
add
-
add
-
sub
-
sub
-
mul
-
mul
-
mul
-