isIdentity Method

Returns true if this rotation does nothing.

  • If allowPeriodShift is false, any nonzero angle is considered a non-identity
  • If allowPeriodShift is true, all angles are individually allowed to be any multiple of 360 degrees.

isIdentity(allowPeriodShift: boolean = true): boolean

Parameter Type Description
allowPeriodShift boolean  

Returns - boolean

Defined in

Last Updated: 20 June, 2023