Skip to contents

Quaternion Normalize

Usage

quaternion_normalize(q)

Arguments

q

A numeric vector of length 4.

Value

A numeric vector of length 4

Examples

quaternion_normalize(c(0, 0, 0, 1))
#> x y z w 
#> 0 0 0 1