Tramway SDK
Namespaces | Functions
physics.cpp File Reference
#include <physics/physics.h>
#include <physics/api.h>
#include <framework/system.h>
#include <framework/stats.h>

Namespaces

namespace  tram
 
namespace  tram::Physics
 

Functions

void tram::Physics::Init ()
 Initializes the physics system. More...
 
void tram::Physics::Update ()
 Updates the physics system. More...
 
Collision tram::Physics::Raycast (const vec3 &from, const vec3 &to, uint32_t collision_mask)
 Performs a raycast. More...
 
std::vector< Collision > tram::Physics::Shapecast (const CollisionShape &shape, const vec3 &from, const vec3 &to, uint32_t collision_mask)
 I have no idea if this function works. (yes it does) More...