idVec3() {dist = 0.0f; };
#endif
idVec3( const float x, const float y, const float z );
+ idVec3( const idVec3& ) = default;
operator float *();
idVec3 operator-() const;
- idVec3 &operator=( const idVec3 &a );
+ idVec3 &operator=( const idVec3 &a ) = default;
float operator*( const idVec3 &a ) const;
idVec3 operator*( const float a ) const;
return idVec3( -x, -y, -z );
}
-ID_INLINE idVec3 &idVec3::operator=( const idVec3 &a ) {
- x = a.x;
- y = a.y;
- z = a.z;
-
- return *this;
-}
-
ID_INLINE void idVec3::set( const float x, const float y, const float z ) {
this->x = x;
this->y = y;