Package zombie.iso
Class Vector3
java.lang.Object
zombie.iso.Vector3
- All Implemented Interfaces:
Cloneable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatclone()floatdistanceTo(Vector2 vector2) div(float float1) static floatdot(float float1, float float2, float float3, float float4) floatfloatbooleanstatic Vector2fromAwtPoint(Point point) static Vector2fromLengthDirection(float float1, float float2) floatfloatfloatvoidvoidrotate(float float1) voidrotatey(float float1) set(float float1, float float2, float float3) setDirection(float float1) setLength(float float1) setLengthAndDirection(float float1, float float2) static Vector3toString()
-
Field Details
-
x
public float x -
y
public float y -
z
public float z
-
-
Constructor Details
-
Vector3
public Vector3() -
Vector3
-
Vector3
public Vector3(float float1, float float2, float float3)
-
-
Method Details
-
fromAwtPoint
-
fromLengthDirection
-
dot
public static float dot(float float1, float float2, float float3, float float4) -
rotate
public void rotate(float float1) -
rotatey
public void rotatey(float float1) -
add
-
addToThis
-
addToThis
-
div
-
aimAt
-
angleTo
-
clone
-
distanceTo
-
dot
-
dot3d
-
equals
-
getDirection
public float getDirection() -
setDirection
-
getLength
public float getLength() -
getLengthSq
public float getLengthSq() -
setLength
-
normalize
public void normalize() -
set
-
set
-
setLengthAndDirection
-
toAwtDimension
-
toAwtPoint
-
toString
-
sub
-
sub
-