Skip to contents

Vector3 Rotate By Axis Angle

Usage

vector3_rotate_by_axis_angle(v, axis, angle)

Arguments

v

A numeric vector of length 3.

axis

A numeric vector of length 3.

angle

A number.

Value

A numeric vector of length 3

Examples

vector3_rotate_by_axis_angle(c(0, 0, 0), c(0, 0, 0), 0.0)
#> x y z 
#> 0 0 0