public interface Turtle3D
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
void |
draw(float distance)
Any implementing classes should draw something eg. line rod box etc
|
void |
draw(float distance,
int level)
Any implementing classes should draw something eg. line rod box etc
|
void |
drawRod(float distance,
float r1,
float r2,
int level) |
void |
forward(float distance)
Any implementing classes should move forward by distance without drawing
|
void |
pitch(float angle) |
void |
pitch(int angle)
Up and Down to non aeronautical
|
void |
roll(float angle) |
void |
roll(int angle)
Rotate about the axis (of the direction we are moving in)
|
void |
yaw(float angle) |
void |
yaw(int angle)
Left and Right turn to non aeronautical
|
static final java.lang.String VERSION
void forward(float distance)
distance
- void drawRod(float distance, float r1, float r2, int level)
distance
- r1
- r2
- level
- void draw(float distance, int level)
distance
- level
- int level of detail for cone/cylinder spherevoid draw(float distance)
distance
- void pitch(int angle)
angle
- degrees/radians int/floatvoid pitch(float angle)
angle
- void roll(int angle)
angle
- degrees/radians int/floatvoid roll(float angle)
angle
- void yaw(int angle)
angle
- degrees/radians int/floatvoid yaw(float angle)
angle
-