Quaternion

R/class-Quaternion.R

new_quaternion.Rd

Create instances that mimic the 'three.js' syntax.

'three.js'

new_quaternion(x = 0, y = 0, z = 0, w = 1) as_quaternion(q)

numeric of length one

R object to be converted to Quaternion

A Quaternion instance

new_vector3, new_matrix4

new_vector3

new_matrix4