rotate: Creates a transformation matrix that rotates an object in 2D...

rotateR Documentation

Creates a transformation matrix that rotates an object in 2D around it's center of mass

Description

Creates a transformation matrix that rotates an object in 2D around it's center of mass

Usage

rotate(angle, center.cur)

Arguments

angle

Angle given in degrees used for rotation

center.cur

Coordinates of the current center of mass


jbergenstrahle/STUtility documentation built on March 14, 2023, 7:15 a.m.