Transform

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

direction
vec3 direction()
Undocumented in source. Be warned that the author may not have intended to support it.
parent
void parent(Transform tr)
Undocumented in source. Be warned that the author may not have intended to support it.
pitch
void pitch(float angle)

Look up/down

position
void position(vec3 pos)
Undocumented in source. Be warned that the author may not have intended to support it.
position
vec3 position()
Undocumented in source. Be warned that the author may not have intended to support it.
roll
void roll(float angle)

Tilt left/right

rotate
void rotate(vec3 v)

Rotate by Vector

rotate
void rotate(float x, float y, float z)

Rotate by Vector

rotation
void rotation(Quaternionf rot)
Undocumented in source. Be warned that the author may not have intended to support it.
rotation
Quaternionf rotation()
Undocumented in source. Be warned that the author may not have intended to support it.
scale
void scale(vec3 offset)
Undocumented in source. Be warned that the author may not have intended to support it.
scaling
void scaling(vec3 p_scale)
Undocumented in source. Be warned that the author may not have intended to support it.
scaling
vec3 scaling()
Undocumented in source. Be warned that the author may not have intended to support it.
setRotation
void setRotation(vec3 v)

Set rotation

setRotation
void setRotation(float x, float y, float z)

Set rotation

translate
void translate(vec3 offset)
Undocumented in source. Be warned that the author may not have intended to support it.
turn
void turn(float angle)

Look left/right

update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.
updateTransformation
void updateTransformation()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta