00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00025 00026 #ifndef _POINT_H_ 00027 #define _POINT_H_ 00028 00029 namespace GpuQuadraticCurveRender 00030 { 00031 00033 class Point 00034 { 00035 public: 00037 float m_x; 00038 00040 float m_y; 00041 00043 Point(void); 00044 00048 Point(float x, float y); 00049 00051 ~Point(void); 00052 00053 bool operator==(Point& point) const; 00054 00055 Point& operator+=(const Point& point); 00056 00057 Point& operator/=(float i); 00058 00062 bool CounterClockWise(const Point& b, const Point& c) const; 00063 }; 00064 00065 } 00066 00067 #endif