Level H Engine
Namespaces | Functions
Mechanics.h File Reference
#include "../Maths/Vec2.h"
#include "../Maths/Vec3.h"
Include dependency graph for Mechanics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Mechanics
 Contains physics mechanics functions for use within the code.
 

Functions

float Mechanics::distanceBetweenTwoPoints (Vec3 point1Pos, Vec3 point2Pos)
 Takes in two positions and works out the distance between them. More...
 
float Mechanics::distanceBetweenTwoPoints (Vec2 point1Pos, Vec2 point2Pos)
 Takes in two positions and works out the distance between them. More...
 
float Mechanics::calculateVelocity (float distance, float time)
 Calculates velocity from the distance and time. More...