| 796 | } |
| 797 | |
| 798 | bool Rotation::isIdentity() const |
| 799 | { |
| 800 | return ( |
| 801 | (this->quat[0] == 0.0 && this->quat[1] == 0.0 && this->quat[2] == 0.0) |
| 802 | && (this->quat[3] == 1.0 || this->quat[3] == -1.0) |
| 803 | ); |
| 804 | } |
| 805 | |
| 806 | bool Rotation::isIdentity(double tol) const |
| 807 | { |