Module beam::rotate [] [src]

This module contains various functions to help rotate points.

Functions

x_axis_rotate

Rotate a 2D point about the x-axis. Theta can be any real-numbered value, but the period of rotation is 0..2pi.

y_axis_rotate

Rotate a 2D point about the y-axis. Theta can be any real-numbered value, but the period of rotation is 0..2pi.

z_axis_rotate

Rotate a 2D point about the z-axis. Theta can be any real-numbered value, but the period of rotation is 0..2pi.