API Docs for: v2.1.0
Show:

CGSGRotation Class

Extends Object
Module: Util

A Rotation object

Constructor

CGSGRotation

(
  • angle
)

Parameters:

Methods

add

(
  • angle
)
public

Add this angle to the current one

Parameters:

copy

() CGSGRotation public

return a new object with these attributes

Returns:

multiply

(
  • angle
)
public

Multiply this angle to the current one

Parameters:

rotateBy

(
  • rotateFactor
)
public

Multiply this angle by this factor

Parameters:

rotateTo

(
  • newAngle
)
public

Replace current angle by this new one

Parameters:

rotateWith

(
  • angle
)
public

Add this angle to the current one

Parameters:

substract

(
  • angle
)
public

Subtract this angle to the current one

Parameters: