rotateX

fun rotateX(origin: Point, angle: Double): Point

Rotate about origin on the X axis.

Return

A new point rotated around the X axis through origin.

Parameters

origin

The center of rotation.

angle

The rotation angle in radians.