Back to index

extremetuxracer  0.5beta
FTPoint.cpp
Go to the documentation of this file.
00001 #include "FTPoint.h"
00002 
00003 
00004 bool operator == ( const FTPoint &a, const FTPoint &b) 
00005 {
00006     return((a.values[0] == b.values[0]) && (a.values[1] == b.values[1]) && (a.values[2] == b.values[2]));
00007 }
00008 
00009 bool operator != ( const FTPoint &a, const FTPoint &b) 
00010 {
00011     return((a.values[0] != b.values[0]) || (a.values[1] != b.values[1]) || (a.values[2] != b.values[2]));
00012 }
00013 
00014 
00015 FTPoint operator*( double multiplier, FTPoint& point)
00016 {
00017     return point * multiplier;
00018 }
00019