|
Level H Engine
|
Contains physics mechanics functions for use within the code. More...
Functions | |
| float | distanceBetweenTwoPoints (Vec3 point1Pos, Vec3 point2Pos) |
| Takes in two positions and works out the distance between them. More... | |
| float | distanceBetweenTwoPoints (Vec2 point1Pos, Vec2 point2Pos) |
| Takes in two positions and works out the distance between them. More... | |
| float | calculateVelocity (float distance, float time) |
| Calculates velocity from the distance and time. More... | |
Contains physics mechanics functions for use within the code.
| float Mechanics::calculateVelocity | ( | float | distance, |
| float | time | ||
| ) |
Calculates velocity from the distance and time.
| distance | The distance. |
| time | The time. |
Takes in two positions and works out the distance between them.
| point1Pos | One of the positions. |
| point2Pos | One of the position. |

1.8.13