|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lwjgl.util.glu.Quadric
public class Quadric
Quadric.java Created 22-dec-2003
Field Summary | |
---|---|
protected int |
drawStyle
|
protected int |
normals
|
protected int |
orientation
|
protected boolean |
textureFlag
|
Constructor Summary | |
---|---|
Quadric()
Constructor for Quadric. |
Method Summary | |
---|---|
protected float |
cos(float r)
|
int |
getDrawStyle()
Returns the drawStyle. |
int |
getNormals()
Returns the normals. |
int |
getOrientation()
Returns the orientation. |
boolean |
getTextureFlag()
Returns the textureFlag. |
protected void |
normal3f(float x,
float y,
float z)
Call glNormal3f after scaling normal to unit length. |
void |
setDrawStyle(int drawStyle)
specifies the draw style for quadrics. |
void |
setNormals(int normals)
specifies what kind of normals are desired for quadrics. |
void |
setOrientation(int orientation)
specifies what kind of orientation is desired for. |
void |
setTextureFlag(boolean textureFlag)
specifies if texture coordinates should be generated for quadrics rendered with qobj. |
protected float |
sin(float r)
|
protected void |
TXTR_COORD(float x,
float y)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int drawStyle
protected int orientation
protected boolean textureFlag
protected int normals
Constructor Detail |
---|
public Quadric()
Method Detail |
---|
protected void normal3f(float x, float y, float z)
x
- y
- z
- public void setDrawStyle(int drawStyle)
drawStyle
- The drawStyle to setpublic void setNormals(int normals)
normals
- The normals to setpublic void setOrientation(int orientation)
orientation
- The orientation to setpublic void setTextureFlag(boolean textureFlag)
textureFlag
- The textureFlag to setpublic int getDrawStyle()
public int getNormals()
public int getOrientation()
public boolean getTextureFlag()
protected void TXTR_COORD(float x, float y)
protected float sin(float r)
protected float cos(float r)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |