transform

v0.1.6
rotateX(angle);

Rotate geometry around the X axis

Arguments

angleThe angle of rotation

See rotateX in transform.h
rotateY(angle);

Rotate geometry around the Y axis

Arguments

angleThe angle of rotation

See rotateY in transform.h
rotateZ(angle);

Rotate geometry around the Z axis

Arguments

angleThe angle of rotation

See rotateZ in transform.h
rotate(angle);

Rotate geometry in 2D

Arguments

angleThe angle of rotation

See rotate in transform.h
scale(x, y, [z]);

scale geometry
currently only used for 3D

Arguments

xThe x scaling
yThe y scaling
[z]The z scaling

See scale in transform.h
translate(x, y, [z]);

translate geometry
currently only used for 3D

Arguments

xThe x translation
yThe y translation
[z]The z translation

See translate in transform.h