Class Vec3
java.lang.Object
org.jbox2d.common.Vec3
- All Implemented Interfaces:
Serializable
- Author:
- Daniel Murphy
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()static final Vec3static final voidcrossToOut(Vec3 a, Vec3 b, Vec3 out) static final voidcrossToOutUnsafe(Vec3 a, Vec3 b, Vec3 out) static final floatbooleaninthashCode()mul(float argScalar) mulLocal(float argScalar) negate()set(float argX, float argY, float argZ) voidsetZero()toString()
-
Field Details
-
x
public float x -
y
public float y -
z
public float z
-
-
Constructor Details
-
Vec3
public Vec3() -
Vec3
public Vec3(float argX, float argY, float argZ) -
Vec3
-
-
Method Details
-
set
-
set
-
addLocal
-
add
-
subLocal
-
sub
-
mulLocal
-
mul
-
negate
-
negateLocal
-
setZero
public void setZero() -
clone
-
toString
-
hashCode
-
equals
-
dot
-
cross
-
crossToOut
-
crossToOutUnsafe
-