Making changes to Vector3 related stuff.
This commit is contained in:
parent
4fd8dfb9f1
commit
ce04edb8cb
4 changed files with 65 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue