com.bulletphysics.demos.opengl
Interface IGL
- All Known Implementing Classes:
- LwjglGL, SoftwareGL
public interface IGL
Method Summary |
void |
drawCube(float extent)
|
void |
drawCylinder(float radius,
float halfHeight,
int upAxis)
|
void |
drawSphere(float radius,
int slices,
int stacks)
|
void |
drawString(java.lang.CharSequence s,
int x,
int y,
float red,
float green,
float blue)
|
void |
glBegin(int mode)
|
void |
glClear(int mask)
|
void |
glClearColor(float red,
float green,
float blue,
float alpha)
|
void |
glColor3f(float red,
float green,
float blue)
|
void |
glDepthFunc(int func)
|
void |
glDisable(int cap)
|
void |
glEnable(int cap)
|
void |
glEnd()
|
void |
glFrustum(double left,
double right,
double bottom,
double top,
double zNear,
double zFar)
|
void |
glLight(int light,
int pname,
float[] params)
|
void |
glLineWidth(float width)
|
void |
glLoadIdentity()
|
void |
glMatrixMode(int mode)
|
void |
glMultMatrix(float[] m)
|
void |
glNormal3f(float nx,
float ny,
float nz)
|
void |
glPointSize(float size)
|
void |
glPopMatrix()
|
void |
glPushMatrix()
|
void |
glScalef(float x,
float y,
float z)
|
void |
glShadeModel(int mode)
|
void |
glTranslatef(float x,
float y,
float z)
|
void |
gluLookAt(float eyex,
float eyey,
float eyez,
float centerx,
float centery,
float centerz,
float upx,
float upy,
float upz)
|
void |
gluOrtho2D(float left,
float right,
float bottom,
float top)
|
void |
glVertex3f(float x,
float y,
float z)
|
void |
glViewport(int x,
int y,
int width,
int height)
|
GL_LIGHT0
static final int GL_LIGHT0
- See Also:
- Constant Field Values
GL_LIGHT1
static final int GL_LIGHT1
- See Also:
- Constant Field Values
GL_AMBIENT
static final int GL_AMBIENT
- See Also:
- Constant Field Values
GL_DIFFUSE
static final int GL_DIFFUSE
- See Also:
- Constant Field Values
GL_SPECULAR
static final int GL_SPECULAR
- See Also:
- Constant Field Values
GL_POSITION
static final int GL_POSITION
- See Also:
- Constant Field Values
GL_LIGHTING
static final int GL_LIGHTING
- See Also:
- Constant Field Values
GL_SMOOTH
static final int GL_SMOOTH
- See Also:
- Constant Field Values
GL_DEPTH_TEST
static final int GL_DEPTH_TEST
- See Also:
- Constant Field Values
GL_LESS
static final int GL_LESS
- See Also:
- Constant Field Values
GL_MODELVIEW
static final int GL_MODELVIEW
- See Also:
- Constant Field Values
GL_PROJECTION
static final int GL_PROJECTION
- See Also:
- Constant Field Values
GL_COLOR_BUFFER_BIT
static final int GL_COLOR_BUFFER_BIT
- See Also:
- Constant Field Values
GL_DEPTH_BUFFER_BIT
static final int GL_DEPTH_BUFFER_BIT
- See Also:
- Constant Field Values
GL_POINTS
static final int GL_POINTS
- See Also:
- Constant Field Values
GL_LINES
static final int GL_LINES
- See Also:
- Constant Field Values
GL_TRIANGLES
static final int GL_TRIANGLES
- See Also:
- Constant Field Values
GL_COLOR_MATERIAL
static final int GL_COLOR_MATERIAL
- See Also:
- Constant Field Values
GL_QUADS
static final int GL_QUADS
- See Also:
- Constant Field Values
glLight
void glLight(int light,
int pname,
float[] params)
glEnable
void glEnable(int cap)
glDisable
void glDisable(int cap)
glShadeModel
void glShadeModel(int mode)
glDepthFunc
void glDepthFunc(int func)
glClearColor
void glClearColor(float red,
float green,
float blue,
float alpha)
glMatrixMode
void glMatrixMode(int mode)
glLoadIdentity
void glLoadIdentity()
glFrustum
void glFrustum(double left,
double right,
double bottom,
double top,
double zNear,
double zFar)
gluLookAt
void gluLookAt(float eyex,
float eyey,
float eyez,
float centerx,
float centery,
float centerz,
float upx,
float upy,
float upz)
glViewport
void glViewport(int x,
int y,
int width,
int height)
glPushMatrix
void glPushMatrix()
glPopMatrix
void glPopMatrix()
gluOrtho2D
void gluOrtho2D(float left,
float right,
float bottom,
float top)
glScalef
void glScalef(float x,
float y,
float z)
glTranslatef
void glTranslatef(float x,
float y,
float z)
glColor3f
void glColor3f(float red,
float green,
float blue)
glClear
void glClear(int mask)
glBegin
void glBegin(int mode)
glEnd
void glEnd()
glVertex3f
void glVertex3f(float x,
float y,
float z)
glLineWidth
void glLineWidth(float width)
glPointSize
void glPointSize(float size)
glNormal3f
void glNormal3f(float nx,
float ny,
float nz)
glMultMatrix
void glMultMatrix(float[] m)
drawCube
void drawCube(float extent)
drawSphere
void drawSphere(float radius,
int slices,
int stacks)
drawCylinder
void drawCylinder(float radius,
float halfHeight,
int upAxis)
drawString
void drawString(java.lang.CharSequence s,
int x,
int y,
float red,
float green,
float blue)