Physics4K  2013-06-04
Physics4K is the next great evolution in 2D physics engines. built upon the C++ Game Framework, it is going to take the next generation gaming world by storm.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
MathXtras.h File Reference
#include "Vector2f.h"
#include "Matrix22.h"

Go to the source code of this file.

Namespaces

 PK
 

Constant Groups

 PK
 

Functions

Vector2f PK::Abs (const Vector2f &value)
 
Matrix22 PK::Abs (const Matrix22 &value)
 
float PK::Sign (float x)
 
float PK::Dot (const Vector2f &a, const Vector2f &b)
 
Vector2f PK::Tangent (const Vector2f &vector)
 
float PK::Cross (const Vector2f &v1, const Vector2f &v2)
 
float PK::Clamp (float value, const float min, const float max)
 
unsigned int PK::Factorial (unsigned int n)
 
unsigned int PK::TriangleNumber (unsigned int n)
 
float PK::FastInvSqrt (float n)
 
float PK::FastSqrt (float n)
 

Variables

const float TWO_PI = 6.283185307179586476925286766559f
 

Variable Documentation

const float TWO_PI = 6.283185307179586476925286766559f