public class SceneObject
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
float[] |
color |
int |
drawingmode |
int |
endIndex |
static int |
PARTICLE_R |
float[] |
position |
float[] |
rotation |
static int |
SHADED |
int |
shader |
int |
startIndex |
boolean |
visible |
static int |
WIREFRAME |
Constructor and Description |
---|
SceneObject(int type,
int drawingmode,
int startIndex,
int endIndex) |
Modifier and Type | Method and Description |
---|---|
void |
apply_object_transformation(VertexData vd) |
int |
getType() |
void |
print_translation() |
void |
rotateX(float angle) |
void |
rotateY(float angle) |
void |
rotateZ(float angle) |
void |
scale(float s) |
void |
translate(float x,
float y,
float z) |
public static final int WIREFRAME
public static final int SHADED
public static final int PARTICLE_R
public boolean visible
public float[] position
public float[] rotation
public int shader
public float[] color
public int drawingmode
public int startIndex
public int endIndex
public SceneObject(int type, int drawingmode, int startIndex, int endIndex)
public void apply_object_transformation(VertexData vd)
public void translate(float x, float y, float z)
public void scale(float s)
public void rotateX(float angle)
public void rotateY(float angle)
public void rotateZ(float angle)
public int getType()
public void print_translation()