View source: R/class-Quaternion.R
new_quaternion | R Documentation |
Quaternion
instance to store '3D' rotationCreate instances that mimic the 'three.js'
syntax.
new_quaternion(x = 0, y = 0, z = 0, w = 1)
as_quaternion(q)
x , y , z , w |
numeric of length one |
q |
R object to be converted to |
A Quaternion
instance
new_vector3
, new_matrix4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.