vec2.h File Reference

#include "geom/geom.h"
#include <cmath>
#include "rutz/debug.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.

Namespaces

namespace  geom

Classes

class  geom::vec2< V >
 Gfx::vec2 is a 2-D vector class for representing 2-D points or distances. More...

Typedefs

typedef vec2< int > geom::vec2i
typedef vec2< float > geom::vec2f
typedef vec2< double > geom::vec2d

Functions

template<class U>
vec2< U > geom::normal_to (const vec2< U > &a)
template<class U>
vec2< U > geom::make_unit_length (const vec2< U > &a)


Detailed Description

2-D geometric vector/point

Definition in file vec2.h.


The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:49:49 2008 by Doxygen version 1.5.5.