Class Vertex
Inheritance
java.lang.Object
Vertex
Syntax
Constructors
Vertex(Vector3f pos)
Declaration
public Vertex(Vector3f pos)
Parameters
Vertex(Vector3f pos, Vector2f texCoord)
Declaration
public Vertex(Vector3f pos, Vector2f texCoord)
Parameters
Vertex(Vector3f pos, Vector2f texCoord, Vector3f normal)
Declaration
public Vertex(Vector3f pos, Vector2f texCoord, Vector3f normal)
Parameters
Vertex(Vector3f pos, Vector2f texCoord, Vector3f normal, Vector3f tangent)
Declaration
public Vertex(Vector3f pos, Vector2f texCoord, Vector3f normal, Vector3f tangent)
Parameters
Fields
SIZE
Declaration
public static final int SIZE= 12
Field Value
Type |
Description |
final int |
|
Methods
getNormal()
Declaration
public Vector3f getNormal()
Returns
getPos()
Declaration
Returns
getSize()
Declaration
public static int getSize()
Returns
getTangent()
Declaration
public Vector3f getTangent()
Returns
getTexCoord()
Declaration
public Vector2f getTexCoord()
Returns
setNormal(Vector3f normal)
Declaration
public void setNormal(Vector3f normal)
Parameters
setPos(Vector3f pos)
Declaration
public void setPos(Vector3f pos)
Parameters
setTangent(Vector3f tangent)
Declaration
public void setTangent(Vector3f tangent)
Parameters
setTexCoord(Vector2f texCoord)
Declaration
public void setTexCoord(Vector2f texCoord)
Parameters