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: booleantrue): boolean

Parameter Type Description
allowPeriodShift boolean  

Returns - boolean

Defined in

Last Updated: 17 December, 2024