Skip to contents

Quaternion Cubic Hermite Spline

Usage

quaternion_cubic_hermite_spline(q1, out_tangent1, q2, in_tangent2, t)

Arguments

q1

A numeric vector of length 4.

out_tangent1

A numeric vector of length 4.

q2

A numeric vector of length 4.

in_tangent2

A numeric vector of length 4.

t

A number.

Value

A numeric vector of length 4

Examples

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