public class Translate extends Object
Transformer
that stores the offset required to perform
the effective OpenGL2 translation in the ModelView Matrix.Modifier | Constructor and Description |
---|---|
protected |
Translate() |
|
Translate(Coord3d shift)
Initialize a Translate.
|
Modifier and Type | Method and Description |
---|---|
Coord3d |
compute(Coord3d input)
Apply the transformations to the input coordinates.
|
void |
execute(com.jogamp.opengl.GL gl)
Execute the transformation to the current GL context.
|
String |
toString() |
protected Translate()
public Translate(Coord3d shift)
shift
- translation offset.public void execute(com.jogamp.opengl.GL gl)
Transformer
are usually help by an ,
the transformation will apply to this .
Computation is performed by GPU.public Coord3d compute(Coord3d input)
Copyright © 2016. All rights reserved.