xyginext  0.2.0
Second generation of xygine game creation framework
Public Member Functions | Public Attributes | List of all members
xy::Vector4< T > Class Template Referencefinal

4 component vector class. Useful when storing floating point colour values, particularly with ConfigFile objects More...

#include <Vector4.hpp>

Public Member Functions

 Vector4 ()
 Default constructor.
 
 Vector4 (T X, T Y, T Z, T W)
 Construct the vector from its coordinates.
 
template<typename U >
 Vector4 (const Vector4< U > &vector)
 Construct the vector from another type of vector.
 

Public Attributes

x
 X coordinate of the vector.
 
y
 Y coordinate of the vector.
 
z
 Z coordinate of the vector.
 
w
 W coordinate of the vector.
 

Detailed Description

template<typename T>
class xy::Vector4< T >

4 component vector class. Useful when storing floating point colour values, particularly with ConfigFile objects

See also
ConfigFile