| new_quaternion {ravetools} | R Documentation |
Create a Quaternion instance to store '3D' rotation
Description
Create instances that mimic the 'three.js' syntax.
Usage
new_quaternion(x = 0, y = 0, z = 0, w = 1)
as_quaternion(q)
Arguments
x, y, z, w |
numeric of length one |
q |
R object to be converted to |
Value
A Quaternion instance
See Also
[Package ravetools version 0.1.7 Index]