15 lines
243 B
C
15 lines
243 B
C
|
/* Some handy mathematics utilities
|
||
|
*/
|
||
|
|
||
|
#ifndef _MATHUTILS_H_
|
||
|
#define _MATHUTILS_H_
|
||
|
|
||
|
class MathUtils
|
||
|
{
|
||
|
public:
|
||
|
// returns the cartesian distance of two points
|
||
|
static float distance(float x1, float y1, float x2, float y2);
|
||
|
};
|
||
|
|
||
|
#endif
|