Classes | Typedefs | Functions

vec2.h File Reference

#include "../api_core.h"
#include "cl_math.h"
#include "vec1.h"
#include "vec3.h"
#include "vec4.h"
#include "origin.h"
Include dependency graph for vec2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CL_Vec2< Type >
 2D vector More...

Typedefs

typedef CL_Vec2< char > CL_Vec2b
typedef CL_Vec2< double > CL_Vec2d
typedef CL_Vec2< float > CL_Vec2f
typedef CL_Vec2< int > CL_Vec2i
typedef CL_Vec2< short > CL_Vec2s
typedef CL_Vec2< unsigned char > CL_Vec2ub
typedef CL_Vec2< unsigned int > CL_Vec2ui
typedef CL_Vec2< unsigned short > CL_Vec2us

Functions

template<typename Type >
CL_Vec2< Type > operator* (const CL_Vec2< Type > &v, const CL_Mat2< Type > &matrix)
template<typename Type >
CL_Vec2< Type > operator* (const CL_Mat2< Type > &matrix, const CL_Vec2< Type > &v)