RotateM3T

trait RotateM3T[T]

Type class for 3D Length geometric rotation transformations of objects of type T.

Companion
object
class Object
trait Matchable
class Any
trait RotateM3TPtPt[T]

Value members

Abstract methods

def rotateXT(obj: T, angle: AngleVec): T

Rotate around the X axis, viewed from positive X. A positive angle is anti clockwise.

Rotate around the X axis, viewed from positive X. A positive angle is anti clockwise.

def rotateYT(obj: T, angle: AngleVec): T

Rotates this vector around the Y axis, viewed form positive Y through the given angle around the origin.

Rotates this vector around the Y axis, viewed form positive Y through the given angle around the origin.

def rotateZ180T(obj: T): T

Rotate 180 degrees around the Z axis.

Rotate 180 degrees around the Z axis.

def rotateZT(obj: T, angle: AngleVec): T

Rotate around the Z axis, viewed from positive Z. A positive angle is anti clockwise.

Rotate around the Z axis, viewed from positive Z. A positive angle is anti clockwise.