com.sygem.jazz3d3
Class Quad
java.lang.Object
com.sygem.jazz3d3.Shape
com.sygem.jazz3d3.Quad
- public class Quad
- extends Shape
Quad face class. Represents a 4-sided face.
- Version:
- 3.0a
Constructor Summary |
Quad(int v1,
int v2,
int v3,
int v4,
int rr,
int gg,
int bb)
Creates a Quad. |
Methods inherited from class com.sygem.jazz3d3.Shape |
getDoubleSided, getFaceNormal, getRenderer, getTransparency, getU, getV, getVertexID, setColour, setDoubleSided, setFaceNormal, setRenderer, setTransparency, setUV, setWrapUV, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Quad
public Quad(int v1,
int v2,
int v3,
int v4,
int rr,
int gg,
int bb)
- Creates a Quad.
- Parameters:
v1
- The vertexID for the first vertex of the Quadv2
- The vertexID for the second vertex of the Quadv3
- The vertexID for the third vertex of the Quadv4
- The vertexID for the fourth vertex of the Quadrr
- 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)
Copyright © 1999-2006 SyGem Software. All Rights Reserved.