Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

# KeosVector2.h File Reference

`#include "KeosPrerequisites.h"`

Go to the source code of this file.

## Namespaces

namespace | Keos

## Typedefs

typedef CVector2< int > | TVector2I
typedef CVector2< float > | TVector2F

## Functions

template<class T>
CVector2< T > | operator * (const CVector2< T > &v, T t)
template<class T>
CVector2< T > | operator/ (const CVector2< T > &v, T t)
template<class T>
CVector2< T > | operator * (T t, const CVector2< T > &v)
template<class T>
T | VectorDot (const CVector2< T > &v1, const CVector2< T > &v2)
template<class T>
CVector2< T > | VectorCross (const CVector2< T > &v1, const CVector2< T > &v2)
template<class T>
std::istream & | operator>> (std::istream &Stream, CVector2< T > &Vector)
template<class T>
std::ostream & | operator<< (std::ostream &Stream, const CVector2< T > &Vector)

## Typedef Documentation

typedef CVector2<float> Keos::TVector2F

| Definition at line 97 of file KeosVector2.h.

typedef CVector2<int> Keos::TVector2I

| Definition at line 96 of file KeosVector2.h.

## Function Documentation

template<class T>
CVector2< T > Keos::operator * | ( | T | t,
|  | const CVector2< T > & | v
| ) | `[inline]`

| Definition at line 268 of file KeosVector2.h.

template<class T>
CVector2< T > Keos::operator * | ( | const CVector2< T > & | v,
|  | T | t
| ) | `[inline]`

| Definition at line 254 of file KeosVector2.h.

template<class T>
CVector2< T > Keos::operator/ | ( | const CVector2< T > & | v,
|  | T | t
| ) | `[inline]`

| Definition at line 261 of file KeosVector2.h.

template<class T>
std::ostream & Keos::operator<< | ( | std::ostream & | Stream,
|  | const CVector2< T > & | Vector
| ) | `[inline]`

| Definition at line 296 of file KeosVector2.h.

template<class T>
std::istream & Keos::operator>> | ( | std::istream & | Stream,
|  | CVector2< T > & | Vector
| ) | `[inline]`

| Definition at line 289 of file KeosVector2.h.

template<class T>
CVector2< T > Keos::VectorCross | ( | const CVector2< T > & | v1,
|  | const CVector2< T > & | v2
| ) | `[inline]`

| Definition at line 282 of file KeosVector2.h. Referenced by Keos::CMatrix4::LookAt().

template<class T>
T Keos::VectorDot | ( | const CVector2< T > & | v1,
|  | const CVector2< T > & | v2
| ) | `[inline]`

| Definition at line 275 of file KeosVector2.h. Referenced by Keos::CMatrix4::LookAt().