Toast Engine
Loading...
Searching...
No Matches
simulator.hpp File Reference

This class simulates all of the physics of the project. More...

#include "body.hpp"
#include "broad_phase.hpp"
#include "constraint.hpp"
#include "damage_command.hpp"
#include "debris.hpp"
#include "fragment_extraction.hpp"
#include "manifold.hpp"
#include "narrow_phase.hpp"
#include "physics_material.hpp"
#include "shape.hpp"
#include "shape_query.hpp"
#include "toast/physics/raycast.hpp"
#include "voxel_render.hpp"
#include "voxel_shape_data.hpp"
#include <atomic>
#include <cstdint>
#include <deque>
#include <functional>
#include <glm/glm.hpp>
#include <mutex>
#include <optional>
#include <span>
#include <thread>
#include <toast/events/listener.hpp>
#include <toast/export.hpp>
#include <toast/log.hpp>
#include <toast/voxel/connectivity.hpp>
#include <toast/voxel/nodes/voxel_node.hpp>
#include <toast/world/box.hpp>
#include <toml++/impl/preprocessor.hpp>
#include <unordered_map>
#include <vector>
Include dependency graph for simulator.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  physics::Simulator
struct  physics::Simulator::DebugDirtyBrick
struct  physics::Simulator::ConnectivityResult
struct  physics::Simulator::PhysicsStepProfile
 Counters and phase timings for one tick snapshotted at a safe point for a debug view to read. More...

Detailed Description

This class simulates all of the physics of the project.

Author
Xein
Date
09 Sep 2026