Category: Data structure
void matrix.setIdentity(object)
| Name | Type | Description |
|---|---|---|
object | matrix |
void matrix.setTranslation(object, translation)
| Name | Type | Description |
|---|---|---|
object | matrix | |
translation | vec3f |
void matrix.setTranslation(object, x, y, z)
void matrix.translate(object, translation)
| Name | Type | Description |
|---|---|---|
object | matrix | |
translation | vec3f |
void matrix.translate(object, x, y, z)
void matrix.setScale(object, x, y, z)
void matrix.setScale(object, scale)
| Name | Type | Description |
|---|---|---|
object | matrix | |
scale | vec3f |
void matrix.getTransform(object, outTranslation, outOrientation, outScale)
| Name | Type | Description |
|---|---|---|
object | matrix | |
outTranslation | vec3f | Out argument |
outOrientation | quaternion | Out argument |
outScale | vec3f | Out argument |
vec3f matrix.transformPoint(object, v)
| Name | Type | Description |
|---|---|---|
object | matrix | |
v | vec3f |
vec3f matrix.transformPoint(object, v, outW)
| Name | Type | Description |
|---|---|---|
object | matrix | |
v | vec3f | |
outW | float | Out argument |
vec3f matrix.transformVector(object, v)
| Name | Type | Description |
|---|---|---|
object | matrix | |
v | vec3f |
vec3f matrix.transformVector(object, v, outW)
| Name | Type | Description |
|---|---|---|
object | matrix | |
v | vec3f | |
outW | float | Out argument |