Vec2< T > Class Template Reference
#include <vec.h>
List of all members.
Detailed Description
template<class T>
class Vec2< T >
Definition at line 24 of file vec.h.
Constructor & Destructor Documentation
Definition at line 35 of file vec.h.
template<class T>
Vec2< T >::Vec2 |
( |
const T |
x, |
|
|
const T |
y | |
|
) |
| | [inline] |
Definition at line 36 of file vec.h.
Definition at line 38 of file vec.h.
Member Function Documentation
template<class T>
float Vec2< T >::dot |
( |
const Vec2< T > & |
a |
) |
[inline] |
Definition at line 93 of file vec.h.
template<class T>
const T* Vec2< T >::getPointer |
( |
|
) |
const [inline] |
Definition at line 73 of file vec.h.
template<class T>
bool Vec2< T >::iszero |
( |
|
) |
[inline] |
Definition at line 99 of file vec.h.
template<class T>
float Vec2< T >::length |
( |
|
) |
const [inline] |
Definition at line 79 of file vec.h.
template<class T>
float Vec2< T >::length2 |
( |
|
) |
const [inline] |
Definition at line 77 of file vec.h.
template<class T>
void Vec2< T >::normalize |
( |
|
) |
[inline] |
Definition at line 84 of file vec.h.
template<class T>
Vec2<T> Vec2< T >::operator* |
( |
const T |
d |
) |
[inline] |
Definition at line 69 of file vec.h.
template<class T>
float Vec2< T >::operator* |
( |
const Vec2< T > & |
v |
) |
[inline] |
Definition at line 49 of file vec.h.
template<class T>
Vec2<T>& Vec2< T >::operator*= |
( |
const T |
d |
) |
[inline] |
Definition at line 51 of file vec.h.
template<class T>
Vec2<T> Vec2< T >::operator+ |
( |
const Vec2< T > & |
a |
) |
[inline] |
Definition at line 67 of file vec.h.
template<class T>
Vec2<T>& Vec2< T >::operator+= |
( |
const Vec2< T > & |
v |
) |
[inline] |
Definition at line 45 of file vec.h.
template<class T>
Vec2<T> Vec2< T >::operator- |
( |
const Vec2< T > & |
a |
) |
[inline] |
Definition at line 65 of file vec.h.
template<class T>
Vec2<T>& Vec2< T >::operator-= |
( |
const Vec2< T > & |
v |
) |
[inline] |
Definition at line 47 of file vec.h.
template<class T>
Vec2<T>& Vec2< T >::operator/= |
( |
const T |
d |
) |
[inline] |
Definition at line 53 of file vec.h.
template<class T>
Vec2<T>& Vec2< T >::operator= |
( |
const Vec2< T > & |
v |
) |
[inline] |
Definition at line 43 of file vec.h.
template<class T>
T Vec2< T >::operator[] |
( |
int |
i |
) |
const [inline] |
Definition at line 60 of file vec.h.
template<class T>
T& Vec2< T >::operator[] |
( |
int |
i |
) |
[inline] |
Definition at line 58 of file vec.h.
template<class T>
void Vec2< T >::zeroElements |
( |
|
) |
[inline] |
Member Data Documentation
template<class T>
T Vec2< T >::n[2] [private] |
Definition at line 29 of file vec.h.
The documentation for this class was generated from the following file:
art_map
Author(s): David Li, Patrick Beeson, Bartley Gillen, Tarun Nimmagadda,
Mickey Ristroph, Michael Quinlan, Jack O'Quin
autogenerated on Fri Mar 1 14:12:37 2013