Invert this quaternion and store the #normalize() normalized result in dest . @param dest will hold the result @return this
(Quat dest)
| 648 | * @param dest will hold the result |
| 649 | * @return this |
| 650 | */ |
| 651 | public Quat invert(Quat dest) { |
| 652 | double norm = x * x + y * y + z * z + w * w; |
| 653 | dest.x = -x / norm; |
| 654 | dest.y = -y / norm; |
| 655 | dest.z = -z / norm; |
| 656 | dest.w = w / norm; |
| 657 | return this; |
| 658 | } |
| 659 | |
| 660 | /** |