Learn R Programming

physx (version 1.0)

rotation2: 2D rotation matrix

Description

Compute a 2D rotation matrix given a rotation angle

Usage

rotation2(angle)

Arguments

angle

rotation angle in radians (counter-clockwise)

Value

Returns a 2-by-2 anti-symmetric rotation matrix

See Also

rotation3