Files Class List
cyVector.h File Reference

Detailed Description

2D, 3D, 4D, and ND vector classes.

Author
Cem Yuksel
#include "cyCore.h"

Classes

class  Vec< T, N >
 A general class for N-dimensional vectors. More...
 
class  Vec2< T >
 2D vector class More...
 
class  Vec3< T >
 3D vector class More...
 
class  Vec4< T >
 4D vector class More...
 

Typedefs

typedef cy::Vec2f cyVec2f
 2D vector class with float type elements
 
typedef cy::Vec3f cyVec3f
 3D vector class with float type elements
 
typedef cy::Vec4f cyVec4f
 4D vector class with float type elements
 
typedef cy::Vec2d cyVec2d
 2D vector class with double type elements
 
typedef cy::Vec3d cyVec3d
 3D vector class with double type elements
 
typedef cy::Vec4d cyVec4d
 4D vector class with double type elements
 

Support functions

!

typedef Vec2< float > Vec2f
 2D vector class with float type elements
 
typedef Vec3< float > Vec3f
 3D vector class with float type elements
 
typedef Vec4< float > Vec4f
 4D vector class with float type elements
 
typedef Vec2< double > Vec2d
 2D vector class with double type elements
 
typedef Vec3< double > Vec3d
 3D vector class with double type elements
 
typedef Vec4< double > Vec4d
 4D vector class with double type elements
 
template<typename T >
Vec2< T > Normalize (Vec2< T > const &v)
 2D vector class with float type elements
 
template<typename T >
Vec3< T > Normalize (Vec3< T > const &v)
 2D vector class with float type elements
 
template<typename T >
Vec4< T > Normalize (Vec4< T > const &v)
 2D vector class with float type elements