Level H Engine
Namespaces | Functions
Mechanics.cpp File Reference
#include "Mechanics.h"
Include dependency graph for Mechanics.cpp:

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...