Skip to main content

ray3_array_apply_matrix4

ray3_array_apply_matrix4(output, output_offset, input, input_offset, m4) ⇒ boolean

Kind: global function
Returns: boolean - false if matrix transformation is impossible, such as when scale of the matrix is 0

ParamTypeDescription
outputArray.<number> | ArrayLike.<number> | Float32Array6 component vector, [origin_x, origin_y, origin_z, direction_x, direction_y, direction_z]
output_offsetnumber
inputArray.<number> | ArrayLike.<number> | Float32Array6 component vector, [origin_x, origin_y, origin_z, direction_x, direction_y, direction_z]
input_offsetnumber
m4Array.<number> | ArrayLike.<number> | Float32Array4x4 matrix