| 674 | #ifndef TERATHON_NO_SIMD |
| 675 | |
| 676 | class alignas(16) SimdVector3D : public Vector3D |
| 677 | { |
| 678 | public: |
| 679 | |
| 680 | operator vec_float&(void) |
| 681 | { |
| 682 | return (reinterpret_cast<vec_float&>(x)); |
| 683 | } |
| 684 | |
| 685 | operator const vec_float&(void) const |
| 686 | { |
| 687 | return (reinterpret_cast<const vec_float&>(x)); |
| 688 | } |
| 689 | |
| 690 | SimdVector3D& operator =(vec_float v) |
| 691 | { |
| 692 | reinterpret_cast<vec_float&>(x) = v; |
| 693 | return (*this); |
| 694 | } |
| 695 | |
| 696 | using Vector3D::operator =; |
| 697 | }; |
| 698 | |
| 699 | class alignas(16) SimdPoint3D : public Point3D |
| 700 | { |
nothing calls this directly
no outgoing calls
no test coverage detected