Class Vertex

java.lang.Object
engine.objConverter.Vertex

public class Vertex extends Object
Vertex Class is loading the object's vertices,texture and normals
  • Constructor Details

    • Vertex

      public Vertex(int index, org.joml.Vector3f position)
  • Method Details

    • getIndex

      public int getIndex()
    • getLength

      public float getLength()
    • isSet

      public boolean isSet()
    • hasSameTextureAndNormal

      public boolean hasSameTextureAndNormal(int textureIndexOther, int normalIndexOther)
    • setTextureIndex

      public void setTextureIndex(int textureIndex)
    • setNormalIndex

      public void setNormalIndex(int normalIndex)
    • getPosition

      public org.joml.Vector3f getPosition()
    • getTextureIndex

      public int getTextureIndex()
    • getNormalIndex

      public int getNormalIndex()
    • getDuplicateVertex

      public Vertex getDuplicateVertex()
    • setDuplicateVertex

      public void setDuplicateVertex(Vertex duplicateVertex)