1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-02-10 14:14:05 +00:00
Aquaria/ExternalLibs/FTGL/src/FTPoint.cpp

20 lines
457 B
C++

#include "FTPoint.h"
bool operator == ( const FTPoint &a, const FTPoint &b)
{
return((a.values[0] == b.values[0]) && (a.values[1] == b.values[1]) && (a.values[2] == b.values[2]));
}
bool operator != ( const FTPoint &a, const FTPoint &b)
{
return((a.values[0] != b.values[0]) || (a.values[1] != b.values[1]) || (a.values[2] != b.values[2]));
}
FTPoint operator*( double multiplier, FTPoint& point)
{
return point * multiplier;
}