Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
534 B

#ifndef POINT_H
#define POINT_H
class point
{
public:
long x, y;
point( void ) { ; };
point( point const & p ) { x = p.x; y = p.y; };
point( POINT const & p ) { x = p.x; y = p.y; };
bool operator < ( point const & r ) const { return x < r.x || (x == r.x && y < r.y); };
bool operator > ( point const & r ) const { return !(*this < r); };
bool operator == ( point const & r ) const { return x == r.x && y == r.y; };
bool operator != ( point const & r ) const { return !(*this == r); };
};
#endif POINT_H