MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / SimdVector3D

Class SimdVector3D

TSVector3D.h:676–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected