Angle utility class. More...
#include <oglplus/config/compiler.hpp>#include <oglplus/math/constants.hpp>#include <cassert>#include <type_traits>Go to the source code of this file.
Classes | |
| class | oglplus::Angle< T > |
| Class implementing planar angle-related functionality. More... | |
Namespaces | |
| oglplus | |
| All definitions of OGLplus are nested in the oglplus namespace. | |
Typedefs | |
| typedef Angle< GLfloat > | oglplus::Anglef |
| Instantiation of Angle using GL floating-point as underlying type. | |
Functions | |
| Angle< AngleValueType > | oglplus::Radians (AngleValueType val_rad) |
| Creates a new angle from a value in radians. More... | |
| Angle< AngleValueType > | oglplus::Degrees (AngleValueType val_deg) |
| Creates a new angle from a value in degrees. More... | |
| Angle< AngleValueType > | oglplus::FullCircles (AngleValueType value) |
| Creates a new angle from a value in "full circles" (i.e. 360 degrees) More... | |
| Angle< AngleValueType > | oglplus::RightAngles (AngleValueType value) |
| Creates a new angle from a value in "right angles" (i.e. 90 deg.) More... | |
| Angle< AngleValueType > | oglplus::ArcSin (AngleValueType x) |
| Creates a new angle using the arc sine function. More... | |
| Angle< AngleValueType > | oglplus::ArcCos (AngleValueType x) |
| Creates a new angle using the arc cosine function. More... | |
| Angle< AngleValueType > | oglplus::ArcTan (AngleValueType x) |
| Creates a new angle using the arc tangent function. More... | |
| Angle< AngleValueType > | oglplus::ArcTan (AngleValueType y, AngleValueType x) |
| Creates a new angle using the arc tangent function with 2 parameters. More... | |
| template<typename T > | |
| T | oglplus::SineWave (T t) |
| Returns a value on a sine wave at the specified point. More... | |
| template<typename T > | |
| T | oglplus::SineWave01 (T t) |
| Returns a value on a sine wave transformed to range <0, 1> More... | |
| template<typename T > | |
| T | oglplus::CosineWave (T t) |
| Returns a value on a cosine wave at the specified point. More... | |
| template<typename T > | |
| T | oglplus::CosineWave01 (T t) |
| Returns a value on a cosine wave transformed to range <0, 1> More... | |
Angle utility class.
Copyright 2010-2014 Matus Chochlik. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)