rotation3: 3D rotation matrix

Description Usage Arguments Value Author(s) See Also

View source: R/rotation3.R

Description

Compute a 3D rotation matrix given an axis and an angle

Usage

1
rotation3(u, angle = NULL)

Arguments

u

3-vector specifying the rotation axis

angle

rotation angle in radians; if not given, the norm of the vector u is interpreted as the angle

Value

Returns a 3-by-3 rotation matrix

Author(s)

Danail Obreschkow

See Also

rotation2


physx documentation built on Feb. 3, 2022, 5:08 p.m.

Related to rotation3 in physx...