Jazz3D API


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
Author:
SyGem Software

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, 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

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 Quad
v2 - The vertexID for the second vertex of the Quad
v3 - The vertexID for the third vertex of the Quad
v4 - The vertexID for the fourth vertex of the Quad
rr - 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