libalmath
1.12
|
00001 /* 00002 ** Author(s): 00003 ** - Chris Kilner 00004 ** - Cyrille Collette 00005 ** - David Gouaillier 00006 ** 00007 ** Copyright (C) 2011 Aldebaran Robotics 00008 */ 00009 00010 00011 #pragma once 00012 #ifndef _LIBALMATH_ALMATH_TOOLS_ALTRIGONOMETRY_H_ 00013 #define _LIBALMATH_ALMATH_TOOLS_ALTRIGONOMETRY_H_ 00014 00015 namespace AL { 00016 namespace Math { 00017 00018 static const float _4_PI_ = 12.56637056f; 00019 static const float _2_PI_ = 6.28318528f; 00020 static const float PI = 3.14159265358979323846f; 00021 static const float PI_2 = 1.57079632679489661923f; 00022 static const float PI_4 = 0.785398163397448309616f; 00023 static const float TO_RAD = 0.017453292f; 00024 static const float TO_DEG = 57.295779579f; 00025 } 00026 } 00027 #endif // _LIBALMATH_ALMATH_TOOLS_ALTRIGONOMETRY_H_