Class Vertex
java.lang.Object
com.pixelmonmod.pixelmon.client.models.obj.Vertex
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
copyAndAdd
(Vertex offSet) copyAndMult
(float coef) copyAndRotateZ
(float angle) copyAndSub
(Vertex v) double
distanceFrom
(Vertex to) float
float
getX()
float
getY()
float
getZ()
mult
(double factor) mult
(float factor) double
norm()
void
float
rotateX
(double angle) rotateZ
(double angle) void
setX
(float x) void
setY
(float y) void
setZ
(float z) void
toString()
-
Constructor Details
-
Vertex
public Vertex() -
Vertex
public Vertex(float x, float y, float z) -
Vertex
public Vertex(int i, int j) -
Vertex
-
-
Method Details
-
getX
public float getX() -
setX
public void setX(float x) -
getY
public float getY() -
setY
public void setY(float y) -
getZ
public float getZ() -
setZ
public void setZ(float z) -
norm
public double norm() -
normalize
public void normalize() -
distanceFrom
-
rotateZ
-
rotateX
-
copyAndRotateZ
-
add
-
copyAndAdd
-
mult
-
mult
-
mult
-
copyAndSub
-
copyAndMult
-
dot
-
perpDot
-
subFrom
-
toString
-