Make the names for the guards for ETL private headers consistent WRT the number of...
[synfig.git] / ETL / trunk / ETL / _fastangle.h
index 1cb4674..322a8cd 100644 (file)
@@ -1,7 +1,7 @@
 /*! ========================================================================
 ** Extended Template and Library
 ** Fast fastangle Abstraction Class Implementation
-** $Id: _fastangle.h,v 1.1.1.1 2005/01/04 01:31:47 darco Exp $
+** $Id$
 **
 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
 **
@@ -24,8 +24,8 @@
 
 /* === S T A R T =========================================================== */
 
-#ifndef __ETL_FASTANGLE_H
-#define __ETL_FASTANGLE_H
+#ifndef __ETL__FASTANGLE_H
+#define __ETL__FASTANGLE_H
 
 /* === H E A D E R S ======================================================= */
 
@@ -63,9 +63,9 @@ protected:
        typedef fixed_base<ETL_FIXED_TYPE,ETL_FASTANGLE_LOOKUP_RES> 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
@@ -246,7 +246,7 @@ public:
        bool operator!()const { return v==unit(0); }
 
        /*
-       ** Converstion Classes
+       ** Conversion Classes
        */
 
        class radians;
@@ -254,12 +254,12 @@ public:
        class rotations;
 
        /*
-       ** Trigometric Classes
+       ** Trigonometric Classes
        */
 
        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<etl::fastangle> : public std::binary_function<etl::fastangl
                        return -delta;
                return delta;
        }
-       
+
        etl::fastangle cook(const etl::fastangle &x) { return x; }
        etl::fastangle uncook(const etl::fastangle &x) { return x; }
 };