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

Math Class Reference

#include <CMath.h>

List of all members.

Static Public Member Functions

void limitChar (signed char *in, int low, int high)
void limitChar (unsigned char *in, int low, int high)
void limitInt (int *in, int low, int high)
void limitFloat (float *in, float low, float high)
void wrapChar (signed char *in, signed char low, signed char high)
void wrapInt (int *in, int low, int high)
void wrapFloat (float *in, float low, float high)
int rrand (int min, int max)
bool boolFromWord (char *word)
void addBit (long *currentBits, long newBits)
void removeBit (long *currentBits, long oldBits)
void calculateSlope (float x, float y, float x2, float y2, float *dx, float *dy)

Private Member Functions

 Math ()


Constructor & Destructor Documentation

Math::Math  )  [inline, private]
 


Member Function Documentation

void Math::addBit long *  currentBits,
long  newBits
[static]
 

bool Math::boolFromWord char *  word  )  [static]
 

void Math::calculateSlope float  x,
float  y,
float  x2,
float  y2,
float *  dx,
float *  dy
[static]
 

void Math::limitChar unsigned char *  in,
int  low,
int  high
[static]
 

void Math::limitChar signed char *  in,
int  low,
int  high
[static]
 

void Math::limitFloat float *  in,
float  low,
float  high
[static]
 

void Math::limitInt int *  in,
int  low,
int  high
[static]
 

void Math::removeBit long *  currentBits,
long  oldBits
[static]
 

int Math::rrand int  min,
int  max
[static]
 

void Math::wrapChar signed char *  in,
signed char  low,
signed char  high
[static]
 

void Math::wrapFloat float *  in,
float  low,
float  high
[static]
 

void Math::wrapInt int *  in,
int  low,
int  high
[static]
 


The documentation for this class was generated from the following files:
Generated on Thu Dec 2 20:26:04 2004 for Blob Wars : Metal Blob Solid by doxygen 1.3.7