| 657 | } |
| 658 | |
| 659 | Transform3D Transform3D::MakeReflection(const Vector3D& a) |
| 660 | { |
| 661 | float x = a.x * -2.0F; |
| 662 | float y = a.y * -2.0F; |
| 663 | float z = a.z * -2.0F; |
| 664 | float axay = x * a.y; |
| 665 | float axaz = x * a.z; |
| 666 | float ayaz = y * a.z; |
| 667 | |
| 668 | return (Transform3D(x * a.x + 1.0F, axay, axaz, 0.0F, |
| 669 | axay, y * a.y + 1.0F, ayaz, 0.0F, |
| 670 | axaz, ayaz, z * a.z + 1.0F, 0.0F)); |
| 671 | } |
| 672 | |
| 673 | Transform3D Transform3D::MakeInvolution(const Vector3D& a) |
| 674 | { |
nothing calls this directly
no test coverage detected