isIdentity method

bool isIdentity()

Tests if this transformation is the identity transformation.

@return true if this is the identity transformation

Implementation

bool isIdentity() {
  return (m00 == 1 &&
      m01 == 0 &&
      m02 == 0 &&
      m10 == 0 &&
      m11 == 1 &&
      m12 == 0);
}