Bowls
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Physics.h File Reference
#include <math.h>
#include "cgg/cgg.h"
#include "Bowl.h"
#include "Box.h"
Include dependency graph for Physics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Physics
 Physics functions.
 

Functions

float Physics::distanceBetweenTwoSpheres (cgg::Vec3 sphere1Pos, cgg::Vec3 sphere2Pos)
 
bool Physics::collisionCheck (Ball *sphere1, Ball *sphere2, float dt)
 
bool Physics::collisionCheck (Ball *sphere, Box *wall, float dt)
 
void Physics::newCollisionVelocities (Ball *sphere1, Ball *sphere2)
 
void Physics::newCollisionVelocities (Ball *sphere, Box *wall)
 
void Physics::applyFriction (Ball *sphere)
 
float Physics::kinectInputVelocity (float distance, float time)