Making changes to Vector3 related stuff.

This commit is contained in:
Brian 2014-02-20 21:15:54 -07:00
parent 4fd8dfb9f1
commit ce04edb8cb
4 changed files with 65 additions and 7 deletions

View file

@ -48,7 +48,8 @@
bool IsZero( void ) const;
static TVector3 Zero( void );
// Predefined helper vectors
static TVector3 Zero;
};
typedef TVector3< Scalar > Vec3f;
@ -176,4 +177,7 @@
return x == 0 && y == 0 && z == 0;
}
template< typename BaseType >
TVector3< BaseType > TVector3< BaseType >::Zero = TVector3< BaseType >(0.f, 0.f, 0.f);
#endif