PxVec2T
Defined in include/foundation/PxVec2.h
- 
template<class Type>
 class PxVec2T
- 2 Element vector class. - This is a 2-dimensional vector class with public data members. - Public Functions - 
inline PxVec2T()
- default constructor leaves data uninitialized. 
 - 
inline explicit PxVec2T(Type a)
- Assigns scalar parameter to all elements. - Useful to initialize to zero or one. - Parameters
- a – [in] Value to assign to elements. 
 
 - 
inline PxVec2T(Type nx, Type ny)
- Initializes from 2 scalar parameters. - Parameters
- nx – [in] Value to initialize X component. 
- ny – [in] Value to initialize Y component. 
 
 
 - 
inline bool operator!=(const PxVec2T &v) const
- returns true if the two vectors are not exactly equal. 
 - 
inline bool isZero() const
- tests for exact zero vector 
 - 
inline bool isFinite() const
- returns true if all 2 elems of the vector are finite (not NAN or INF, etc.) 
 - 
inline bool isNormalized() const
- is normalized - used by API parameter validation 
 
- 
inline PxVec2T()