Class ModelCreator.Face

    • Field Summary

      Fields 
      Modifier and Type Field Description
      int[] n
      This stores the indices for the normals
      int[] v
      This stores the indices for both the vertices and the UV coordinates
    • Constructor Summary

      Constructors 
      Constructor Description
      Face​(int... v)
      Constructs a face with the indeces of the vertices.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int[] n()  
      void setNormals​(int... n)
      Sets the normal indeces.
      int[] v()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • v

        public int[] v
        This stores the indices for both the vertices and the UV coordinates
      • n

        public int[] n
        This stores the indices for the normals
    • Constructor Detail

      • Face

        public Face​(int... v)
        Constructs a face with the indeces of the vertices.
        Parameters:
        v - Indeces of the vertices.