com.threerings.opengl.model.tools
Class ModelDef.Triangle
java.lang.Object
com.threerings.opengl.model.tools.ModelDef.Triangle
- Enclosing class:
- ModelDef
protected static class ModelDef.Triangle
- extends Object
Represents a triangle for processing purposes.
|
Method Summary |
float |
getScore()
Returns the score of the triangle, which is simply the sum of the scores of its
vertices. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vertices
public ModelDef.Vertex[] vertices
- The vertices of the triangle.
ModelDef.Triangle
public ModelDef.Triangle(ModelDef.Vertex[] vertices)
getScore
public float getScore()
- Returns the score of the triangle, which is simply the sum of the scores of its
vertices.