v3_displace_in_direction_array
v3_displace_in_direction_array(result, result_offset, origin, origin_offset, direction, direction_offset, distance)
Direction vector must be normalized
Kind: global function
Param | Type | Description |
---|---|---|
result | Array.<number> | Float32Array | |
result_offset | number | |
origin | Array.<number> | Float32Array | |
origin_offset | number | |
direction | Array.<number> | Float32Array | Must be normalized |
direction_offset | number | |
distance | number |