linearly v0.32.0 • Docs
linearly v0.32.0 / mat4 / fromAxesTranslation
Function: fromAxesTranslation()
fromAxesTranslation(
xAxis
,yAxis
,zAxis
,trans
):mat4
Creates a matrix from given axes and translation vector. If either axis is null, it will be calculated from the remaining axes while assuming the other axis is the cross product of the remaining axes. All of axes will not be normalized.
Parameters
• xAxis: null
| vec3
• yAxis: null
| vec3
• zAxis: null
| vec3
= null
• trans: vec3
= vec3.zero