Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
Namespaces | Functions | Variables
E:/Programming/MyProject/K_Game_hg/GameEngine/include/core/Math.h File Reference
#include <EngineConfig.h>
#include <core/Types.h>

Go to the source code of this file.

Namespaces

namespace  core
 

In this namespace can be found basic classes like vectors, planes, arrays, lists and so on.


Functions

f32 ENGINE_PUBLIC_EXPORT core::abs (f32 val)
 returns abs of two values. Own implementation to get rid of STL (VS6 problems)
f64 ENGINE_PUBLIC_EXPORT core::abs (f64 val)
f32 ENGINE_PUBLIC_EXPORT core::acos (f32 val)
f64 ENGINE_PUBLIC_EXPORT core::acos (f64 val)
f64 ENGINE_PUBLIC_EXPORT core::asin (f64 val)
f32 ENGINE_PUBLIC_EXPORT core::asin (f32 val)
f32 ENGINE_PUBLIC_EXPORT core::atan (f32 val)
f64 ENGINE_PUBLIC_EXPORT core::atan (f64 val)
f32 ENGINE_PUBLIC_EXPORT core::atan2 (f32 valy, f32 valx)
f64 ENGINE_PUBLIC_EXPORT core::atan2 (f64 valy, f64 valx)
f32 ENGINE_PUBLIC_EXPORT core::ceil (f32 val)
f64 ENGINE_PUBLIC_EXPORT core::ceil (f64 val)
s32 ENGINE_PUBLIC_EXPORT core::ceil32 (f32 val)
s64 ENGINE_PUBLIC_EXPORT core::ceil64 (f64 val)
f32 ENGINE_PUBLIC_EXPORT core::clamp (f32 val, f32 min, f32 max)
f64 ENGINE_PUBLIC_EXPORT core::clamp (f64 val, f64 min, f64 max)
f32 ENGINE_PUBLIC_EXPORT core::cos (f32 val)
f64 ENGINE_PUBLIC_EXPORT core::cos (f64 val)
bool ENGINE_PUBLIC_EXPORT core::equals (const f32 a, const f32 b)
bool ENGINE_PUBLIC_EXPORT core::equals (const f64 a, const f64 b)
f32 ENGINE_PUBLIC_EXPORT core::exp (f32 val)
f64 ENGINE_PUBLIC_EXPORT core::exp (f64 val)
f32 ENGINE_PUBLIC_EXPORT core::floor (f32 val)
f64 ENGINE_PUBLIC_EXPORT core::floor (f64 val)
s32 ENGINE_PUBLIC_EXPORT core::floor32 (f32 val)
s64 ENGINE_PUBLIC_EXPORT core::floor64 (f64 val)
f64 ENGINE_PUBLIC_EXPORT core::log (f64 val)
f32 ENGINE_PUBLIC_EXPORT core::log (f32 val)
f32 ENGINE_PUBLIC_EXPORT core::max (const f32 a, const f32 b)
 returns maximum of two values. Own implementation to get rid of the STL (VS6 problems)
f32 ENGINE_PUBLIC_EXPORT core::max (const f32 a, const f32 b, const f32 c)
 returns maximum of three values.
f64 ENGINE_PUBLIC_EXPORT core::max (const f64 a, const f64 b)
f64 ENGINE_PUBLIC_EXPORT core::max (const f64 a, const f64 b, const f64 c)
f64 ENGINE_PUBLIC_EXPORT core::min (const f64 a, const f64 b)
f32 ENGINE_PUBLIC_EXPORT core::min (const f32 a, const f32 b)
 Constant for 64bit 1/3.
f64 ENGINE_PUBLIC_EXPORT core::min (const f64 a, const f64 b, const f64 c)
f32 ENGINE_PUBLIC_EXPORT core::min (const f32 a, const f32 b, const f32 c)
 returns minimum of three values.
f64 ENGINE_PUBLIC_EXPORT core::sin (f64 val)
f32 ENGINE_PUBLIC_EXPORT core::sin (f32 val)
f32 ENGINE_PUBLIC_EXPORT core::sqr (f32 val)
f64 ENGINE_PUBLIC_EXPORT core::sqr (f64 val)
f32 ENGINE_PUBLIC_EXPORT core::sqrt (f32 val)
f64 ENGINE_PUBLIC_EXPORT core::sqrt (f64 val)
f32 ENGINE_PUBLIC_EXPORT core::tan (f32 val)
f64 ENGINE_PUBLIC_EXPORT core::tan (f64 val)

Variables

const f32 core::DEGTORAD = 0.0174532925199432957692369076848f
 Constant for 64bit PI/2.
const f64 core::DEGTORAD64 = PI64 / 180.0
const f32 core::EPSILON = 1.192092896e-07f
const f64 core::EPSILON64 = 2.2204460492503131e-016
 Constant often used when comparing float values.
const f32 core::FLOAT_MAX = 3.402823466e+38f
 Constant for 64bit min float.
const f64 core::FLOAT_MAX64 = 1.7976931348623158e+308
 Constant for max float.
const f32 core::FLOAT_MIN = 1.175494351e-38f
 Constant for max unsigned int.
const f64 core::FLOAT_MIN64 = 2.2250738585072014e-308
 Constant for min float.
const f32 core::HALF_PI = 1.5707963267948966192313216916398f
 Constant for 64bit PI.
const f64 core::HALF_PI64 = 0.5 * PI64
const f32 core::ONE_THIRD = 0.3333333333333333333333333333333f
 64bit constant for converting from radians to degrees
const f64 core::ONE_THIRD64 = 0.3333333333333333333333333333333333333333333333333
 Constant for 1/3.
const f32 core::PI = 3.1415926535897932384626433832795f
 Constant for 64bit max float.
const f64 core::PI64 = 3.1415926535897932384626433832795028841971693993751
 Constant for PI.
const f32 core::RADTODEG = 57.295779513082320876798154814105f
 64bit constant for converting from degrees to radians
const f64 core::RADTODEG64 = 180.0 / PI64
const u32 core::UNSIGNEDINT_MAX = 0xffffffff
 Constant often used when comparing 64bit float values.

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:05 by Doxygen (1.7.4)