jjdh.opengl.exercises.playground.font
Class TextMesh
java.lang.Object
jjdh.opengl.meshes.core.AbstractMesh
jjdh.opengl.meshes.core.DirectMesh
jjdh.opengl.exercises.playground.font.TextMesh
- All Implemented Interfaces:
- Renderable, Mesh
public class TextMesh
- extends DirectMesh
ToDo: Save single Characters in a display list and resuse them if possible
- Author:
- Jonas Jacobi, Dennis Heidsiek
Method Summary |
protected void |
privateRender(javax.media.opengl.GL gl)
This method has to be overwritten by subcasses. |
Methods inherited from class jjdh.opengl.meshes.core.AbstractMesh |
applyMaterial, applyPosition, applyRotation, applyScaling, getMaterial, getPosition, move, render, rotate, setMaterial, setPosition, setRotation, setScale, toString, unApplyMaterial |
c
protected Container c
TextMesh
public TextMesh(Font font,
float height,
String text)
privateRender
protected void privateRender(javax.media.opengl.GL gl)
- Description copied from class:
AbstractMesh
- This method has to be overwritten by subcasses.
- Specified by:
privateRender
in class DirectMesh
- Parameters:
gl
- a OpenGL obejct
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.