Back to index

extremetuxracer  0.5beta
Functions
FTPoint.cpp File Reference
#include "FTPoint.h"

Go to the source code of this file.

Functions

bool operator== (const FTPoint &a, const FTPoint &b)
bool operator!= (const FTPoint &a, const FTPoint &b)
FTPoint operator* (double multiplier, FTPoint &point)

Function Documentation

bool operator!= ( const FTPoint &  a,
const FTPoint &  b 
)
Parameters:
a
b
Returns:
true if a & b are not equal

Definition at line 9 of file FTPoint.cpp.

{
    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 
)
Parameters:
point
multiplier
Returns:
multiplier multiplied by point.

Definition at line 15 of file FTPoint.cpp.

{
    return point * multiplier;
}
bool operator== ( const FTPoint &  a,
const FTPoint &  b 
)
Parameters:
a
b
Returns:
true if a & b are equal

Definition at line 4 of file FTPoint.cpp.

{
    return((a.values[0] == b.values[0]) && (a.values[1] == b.values[1]) && (a.values[2] == b.values[2]));
}