project_files/HedgewarsMobile/Classes/CGPointUtils.h
changeset 6908 896ed2afcfb8
parent 6832 fae8fd118da9
child 10108 c68cf030eded
equal deleted inserted replaced
6907:a2f9a9a62dc5 6908:896ed2afcfb8
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    17  */
    17  */
    18 
    18 
    19 
    19 
    20 #import <CoreGraphics/CoreGraphics.h>
    20 #include <CoreGraphics/CoreGraphics.h>
    21 
    21 
    22 
    22 
    23 #define degreesToRadians(x) ( M_PI * x / 180.0)
    23 #define degreesToRadians(x) ( M_PI * x / 180.0)
    24 #define radiansToDegrees(x) (180.0 * x / M_PI )
    24 #define radiansToDegrees(x) (180.0 * x / M_PI )
    25 
    25