src/util/MathUtils.h File Reference

#include <cmath>
#include <cassert>
#include <time.h>
#include <cstdlib>

Go to the source code of this file.

Namespaces

namespace  green

Functions

double green::DegreesToRadians (double angle)
double green::RadiansToDegrees (double angle)
void green::GetVectorFromAngle (double angle, double &x, double &y, double length)
double green::randFloat (double min, double max)
double green::DistanceBetween (double x1, double y1, double x2, double y2)


Detailed Description

Author:
Jeremy Bell
Date:
2/17/07 Project: Asteroids
A collection of math utilities carried over from other projects. These aren't used yet, nor are they unit tested at the moment, but they should work ok.
Generated on Fri Apr 27 10:27:38 2007 for Green Engine by  doxygen 1.5.1