public class Scale extends Object
Transformer
that stores the scaling factor required to
perform the effective OpenGL2 scaling in the ModelView Matrix.Constructor and Description |
---|
Scale(Coord3d scale)
Initialize a Scale.
|
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() |
public Scale(Coord3d scale)
scale
- scaling factor.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.