|
Jazz3D API |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--com.sygem.jazz3d3.Shape
|
+--com.sygem.jazz3d3.Triangle
Triangle face class. Represents a 3-sided face.
| Constructor Summary | |
Triangle(int v1,
int v2,
int v3,
int rr,
int gg,
int bb)
Creates a Triangle. |
|
| Methods inherited from class com.sygem.jazz3d3.Shape |
getDoubleSided, getFaceNormal, getTransparency, getU, getV, getVertexID, setColour, setDoubleSided, setFaceNormal, setTransparency, setUV, setWrapUV |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Triangle(int v1,
int v2,
int v3,
int rr,
int gg,
int bb)
v1 - The vertexID for the first vertex of the Trianglev2 - The vertexID for the second vertex of the Trianglev3 - The vertexID for the third vertex of the Trianglerr - The red colour of the face (0-255)gg - The green colour of the face (0-255)bb - The blue colour of the face (0-255)
|
©2001 SyGem Software |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||