CleanSweep
Class ProxyGLShape

Direct Known Subclasses:
ProxyGLBullet, ProxyGLCube, ProxyGLDiamond, ProxyGLPyramid, ProxyGLShip

public class ProxyGLShape


Field Summary
 protected intdrawMode
           
 protected ProxyGLColormainColor
           

Constructor Summary
ProxyGLShape()
           

Method Summary
 ProxyGLPointcomputeNormal(ProxyGLPoint a, ProxyGLPoint b, ProxyGLPoint c)
           
 voidsetDrawMode(int mode)
           
 voidsetMainColor(ProxyGLColor newColor)
           
 voidsetMainColor(float red, float green, float blue)
           

Field Detail

drawMode

protected int drawMode

mainColor

protected ProxyGLColor mainColor
Constructor Detail

ProxyGLShape

public ProxyGLShape()
Method Detail

computeNormal

public ProxyGLPoint computeNormal(ProxyGLPoint a, ProxyGLPoint b, ProxyGLPoint c)

setDrawMode

public void setDrawMode(int mode)

setMainColor

public void setMainColor(ProxyGLColor newColor)

setMainColor

public void setMainColor(float red, float green, float blue)