Return the dot product of this Quat and otherQuat . @param otherQuat the other quaternion @return the dot product
(Quat otherQuat)
| 176 | * @param otherQuat the other quaternion |
| 177 | * @return the dot product |
| 178 | */ |
| 179 | public double dot(Quat otherQuat) { |
| 180 | return this.x * otherQuat.x + this.y * otherQuat.y + this.z * otherQuat.z + this.w * otherQuat.w; |
| 181 | } |
| 182 | |
| 183 | /** |