Public Member Functions | |
__construct () | |
makeScale ($sx, $sy, $sz) | |
makeTranslate ($dx, $dy, $dz) | |
makeRotate ($ax, $ay, $az, $angle) |
Transformation::__construct | ( | ) |
Default constructor calling parent constructor.
Reimplemented from Matrix4x4.
Transformation::makeScale | ( | $ | sx, | |
$ | sy, | |||
$ | sz | |||
) |
Create a scaling transformation.
$sx | Scaling in x direction. | |
$sy | Scaling in y direction. | |
$sz | Scaling in z direction. |
Transformation::makeTranslate | ( | $ | dx, | |
$ | dy, | |||
$ | dz | |||
) |
Create a translation transformation.
$dx | Translation in x direction. | |
$dy | Translation in y direction. | |
$dz | Translation in z direction. |
Transformation::makeRotate | ( | $ | ax, | |
$ | ay, | |||
$ | az, | |||
$ | angle | |||
) |
Create a rotation transformation.
$ax | Value in x direction of rotation axis. | |
$ay | Value in y direction of rotation axis. | |
$az | Value in z direction of rotation axis. | |
$angle | Rotation angle in radians. |