Class Vec3
java.lang.Object
dev.zwazel.internal.game.transform.Vec3
Vec3 represents a 3D vector in game–space.
Game–space convention:
forward = +z,
up = +y,
right = -x.
-
Field Details
-
ZERO
-
X
-
Y
-
Z
-
-
Constructor Details
-
Vec3
public Vec3(double[] values)
-
-
Method Details
-
subtract
-
add
-
multiply
-
multiply
-
magnitude
public double magnitude() -
normalize
-
normalize_or_zero
-
getAngle
public double getAngle() -
distance
-
cross
-
dot
-
scale
-
length
public double length()
-