Class atlas::physics::physics_context
ClassList > atlas > physics > physics_context
The context is the way to interact with only the engine. It is the api for all the background funcitons and information that the user shouldn not see. It is a virtual based type erasure class so thatmany engines can implement the same functions. Specifically realted to backend engine creation like batching, starting runtime, etc...
#include <physics_context.hpp>
Inherited by the following classes: atlas::physics::jolt_context
Public Functions
Type | Name |
---|---|
void | clean_bodies () |
void | contact_added_event () |
void | create_bodies () |
void | run_physics_step () |
virtual | ~physics_context () = default |
Public Functions Documentation
function clean_bodies
void atlas::physics::physics_context::clean_bodies ()
function contact_added_event
void atlas::physics::physics_context::contact_added_event ()
function create_bodies
void atlas::physics::physics_context::create_bodies ()
function run_physics_step
void atlas::physics::physics_context::run_physics_step ()
function ~physics_context
virtual atlas::physics::physics_context::~physics_context () = default
Remark:
This has to be public to get shared pointer working
Note:
With one exception being some friend class but not the way
The documentation for this class was generated from the following file TheAtlasEngine/atlas/physics/physics_3d/physics_context.hpp