Skip to contents

Quaternion Scale

Usage

quaternion_scale(q, mul)

Arguments

q

A numeric vector of length 4.

mul

A number.

Value

A numeric vector of length 4

Examples

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