espresso3d.engine.lowlevel.geometry
Class E3DPoint
java.lang.Object
espresso3d.engine.base.E3DEngineItem
espresso3d.engine.renderer.base.E3DRenderable
espresso3d.engine.lowlevel.geometry.E3DPoint
- public class E3DPoint
- extends E3DRenderable
- Author:
- espresso3d
Point class used in the engine
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
E3DPoint
public E3DPoint(E3DEngine engine,
E3DVector3F pos)
E3DPoint
public E3DPoint(E3DEngine engine,
E3DVector3F pos,
double size)
E3DPoint
public E3DPoint(E3DEngine engine,
E3DVector3F pos,
E3DVector3F color)
E3DPoint
public E3DPoint(E3DEngine engine,
E3DVector3F pos,
E3DVector3F color,
double size)
render
public void render()
- Specified by:
render in class E3DRenderable
getPos
public E3DVector3F getPos()
- Returns:
- Returns the pos.
setPos
public void setPos(E3DVector3F pos)
- Parameters:
pos - The pos to set.
getSize
public double getSize()
- Returns:
- Returns the size.
setSize
public void setSize(double size)
- Parameters:
size - The size to set.
getColor
public E3DVector3F getColor()
- Returns:
- Returns the color.
setColor
public void setColor(E3DVector3F color)
- Parameters:
color - The color to set.