Colobot
|
Point struct and related functions. More...
Go to the source code of this file.
Classes | |
struct | Math::Point |
2D point More... | |
Namespaces | |
Math | |
Namespace for (new) math code. | |
Functions | |
bool | Math::PointsEqual (const Point &a, const Point &b, float tolerance=TOLERANCE) |
Checks if two vectors are equal within given tolerance. More... | |
void | Math::Swap (Point &a, Point &b) |
Permutes two points. More... | |
float | Math::Distance (const Point &a, const Point &b) |
Returns the distance between two points. More... | |
Point struct and related functions.