|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjme.geometry.model.Triangle
A Triangle is a polygon in MD3D. It holds indexes to the three vertices in the model, as well as indexes to its normals.
| Field Summary | |
int |
flags
The flags in MS3D. |
int |
normalIndex1
Normal 1. |
int |
normalIndex2
Normal 2. |
int |
normalIndex3
Normal 3. |
int |
smoothingGroup
The MS3D smoothing group. |
int |
vertexIndex1
Vertex 1. |
int |
vertexIndex2
Vertex 2. |
int |
vertexIndex3
Vertex 3. |
| Constructor Summary | |
Triangle(int flags,
int vertexIndex1,
int vertexIndex2,
int vertexIndex3,
int normalIndex1,
int normalIndex2,
int normalIndex3,
int smoothingGroup)
Creates a triangle with the vertices and normals given. |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int flags
public int vertexIndex1
public int vertexIndex2
public int vertexIndex3
public int normalIndex1
public int normalIndex2
public int normalIndex3
public int smoothingGroup
| Constructor Detail |
public Triangle(int flags,
int vertexIndex1,
int vertexIndex2,
int vertexIndex3,
int normalIndex1,
int normalIndex2,
int normalIndex3,
int smoothingGroup)
flags - the MS3D flags.vertexIndex1 - vertex 1.vertexIndex2 - vertex 2.vertexIndex3 - vertex 3.normalIndex1 - normal 1.normalIndex2 - normal 2.normalIndex3 - normal 3.smoothingGroup - the MS3D smoothing group.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||