libRocket
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Include
Rocket
Core
Namespaces
|
Functions
|
Variables
Math.h File Reference
#include "
Header.h
"
Go to the source code of this file.
Namespaces
Rocket
Rocket::Core
Rocket::Core::Math
Functions
template<typename Type >
Type
Rocket::Core::Math::Max
(Type a, Type b)
template<typename Type >
Type
Rocket::Core::Math::Min
(Type a, Type b)
template<typename Type >
Type
Rocket::Core::Math::ClampLower
(Type value, Type min)
template<typename Type >
Type
Rocket::Core::Math::ClampUpper
(Type value, Type max)
template<typename Type >
Type
Rocket::Core::Math::Clamp
(Type value, Type min, Type max)
ROCKETCORE_API
bool
Rocket::Core::Math::IsZero
(float value)
ROCKETCORE_API
bool
Rocket::Core::Math::AreEqual
(float value_0, float value_1)
ROCKETCORE_API
float
Rocket::Core::Math::AbsoluteValue
(float value)
ROCKETCORE_API
float
Rocket::Core::Math::Cos
(float angle)
ROCKETCORE_API
float
Rocket::Core::Math::ACos
(float value)
ROCKETCORE_API
float
Rocket::Core::Math::Sin
(float angle)
ROCKETCORE_API
float
Rocket::Core::Math::ASin
(float angle)
ROCKETCORE_API
float
Rocket::Core::Math::Tan
(float angle)
ROCKETCORE_API
float
Rocket::Core::Math::ATan2
(float y, float x)
ROCKETCORE_API
float
Rocket::Core::Math::RadiansToDegrees
(float angle)
ROCKETCORE_API
float
Rocket::Core::Math::DegreesToRadians
(float angle)
ROCKETCORE_API
float
Rocket::Core::Math::NormaliseAngle
(float angle)
ROCKETCORE_API
float
Rocket::Core::Math::SquareRoot
(float value)
ROCKETCORE_API
int
Rocket::Core::Math::Round
(float value)
ROCKETCORE_API
int
Rocket::Core::Math::RoundUp
(float value)
ROCKETCORE_API
int
Rocket::Core::Math::RoundDown
(float value)
ROCKETCORE_API
int
Rocket::Core::Math::RealToInteger
(float value)
ROCKETCORE_API
int
Rocket::Core::Math::ToPowerOfTwo
(int value)
ROCKETCORE_API
int
Rocket::Core::Math::HexToDecimal
(char hex_digit)
ROCKETCORE_API
float
Rocket::Core::Math::RandomReal
(float max_value)
ROCKETCORE_API
int
Rocket::Core::Math::RandomInteger
(int max_value)
ROCKETCORE_API
bool
Rocket::Core::Math::RandomBool
()
Variables
ROCKETCORE_API
const float
Rocket::Core::Math::ROCKET_PI
Generated on Sat Sep 13 2014 04:42:37 for libRocket by
1.8.8