- Aldebaran documentation |
- C++ Libraries |
- index

libalmath 2.8.7.4

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
altrigonometry.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2012 Aldebaran Robotics. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the COPYING file.
5 */
6
7
8 #pragma once
9 #ifndef _LIBALMATH_ALMATH_TOOLS_ALTRIGONOMETRY_H_
10 #define _LIBALMATH_ALMATH_TOOLS_ALTRIGONOMETRY_H_
11
12 namespace AL {
13 namespace Math {
14
15 static const float _4_PI_ = 12.56637056f;
16 static const float _2_PI_ = 6.28318528f;
17 static const float PI = 3.14159265358979323846f;
18 static const float PI_2 = 1.57079632679489661923f;
19 static const float PI_4 = 0.785398163397448309616f;
20 static const float TO_RAD = 0.017453292f;
21 static const float TO_DEG = 57.295779579f;
22 }
23 }
24 #endif // _LIBALMATH_ALMATH_TOOLS_ALTRIGONOMETRY_H_