Package gaiasky.util.gdx
Class ModelCreator.Face
- java.lang.Object
-
- gaiasky.util.gdx.ModelCreator.Face
-
- All Implemented Interfaces:
ModelCreator.IFace
- Enclosing class:
- ModelCreator
public class ModelCreator.Face extends java.lang.Object implements ModelCreator.IFace
Contains the index info for a face.
-
-
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()
-
-
-
Method Detail
-
setNormals
public void setNormals(int... n)
Sets the normal indeces.- Specified by:
setNormals
in interfaceModelCreator.IFace
- Parameters:
n
- Indeces of the normals.
-
v
public int[] v()
- Specified by:
v
in interfaceModelCreator.IFace
-
n
public int[] n()
- Specified by:
n
in interfaceModelCreator.IFace
-
-