X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2FETL%2F_fastangle.h;h=e447a71a1ff4899713a20b4839c207e8903c2076;hb=cee5940bae97612105db8b7e1ffcf513f9d9150c;hp=1cb4674cad388c2d269cfa0f1999b0b471ebe20a;hpb=dee84efa006428fdfbf0e84b66ee94eb23113ad9;p=synfig.git diff --git a/ETL/trunk/ETL/_fastangle.h b/ETL/trunk/ETL/_fastangle.h index 1cb4674..e447a71 100644 --- a/ETL/trunk/ETL/_fastangle.h +++ b/ETL/trunk/ETL/_fastangle.h @@ -63,9 +63,9 @@ protected: typedef fixed_base unit; unit v; //! Stored in rotations - + public: - + /* ** Arithmetic Operators */ @@ -107,7 +107,7 @@ public: ret.v=v/rhs; return ret; } - + const fastangle & operator+=(const fastangle &rhs) { @@ -144,7 +144,7 @@ public: ret.v=-v; return ret; } - + //! 180 degree rotation operator /*! Returns the fastangle directly opposite of the given fastangle, and will yield a result @@ -259,7 +259,7 @@ public: class sin; class cos; - class tan; + class tan; /* ** Friend classes @@ -385,7 +385,7 @@ public: else v.data()=_fastangle_atan_table[(int)((x+1)*(value_type)((1<<(ETL_FASTANGLE_LOOKUP_RES-1))-1))]; } - + tan(const value_type &y,const value_type &x) { if(x>=0 && y>=0) // First quadrant @@ -451,7 +451,7 @@ struct distance_func : public std::binary_function