| 28 | } |
| 29 | |
| 30 | Vector3D Motor3D::GetDirectionY(void) const |
| 31 | { |
| 32 | float A11 = 1.0F - (v.z * v.z + v.x * v.x) * 2.0F; |
| 33 | float A01 = v.x * v.y; |
| 34 | float A12 = v.y * v.z; |
| 35 | float B01 = v.z * v.w; |
| 36 | float B12 = v.x * v.w; |
| 37 | |
| 38 | return (Vector3D((A01 - B01) * 2.0F, A11, (A12 + B12) * 2.0F)); |
| 39 | } |
| 40 | |
| 41 | Vector3D Motor3D::GetDirectionZ(void) const |
| 42 | { |