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
Param | Type | Description |
---|---|---|
output | Array.<number> | ArrayLike.<number> | Float32Array | 6 component vector, [origin_x, origin_y, origin_z, direction_x, direction_y, direction_z] |
output_offset | number | |
input | Array.<number> | ArrayLike.<number> | Float32Array | 6 component vector, [origin_x, origin_y, origin_z, direction_x, direction_y, direction_z] |
input_offset | number | |
m4 | Array.<number> | ArrayLike.<number> | Float32Array | 4x4 matrix |