Toast Engine
Loading...
Searching...
No Matches
mass_accumulator.hpp File Reference
#include "voxel_constants.hpp"
#include <cassert>
#include <cstdint>
#include <glm/glm.hpp>
Include dependency graph for mass_accumulator.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  voxel::MassMoments
struct  voxel::MassProperties

Functions

auto voxel::resolveMass (const MassMoments &moments, float voxel_size=k_voxel_size) -> float
auto voxel::resolve (const MassMoments &moments, float voxel_size=k_voxel_size) -> MassProperties

Variables

constexpr int64_t voxel::k_moment_safe_limit = int64_t {1} << 62

Detailed Description

Author
dario
Date
08/09/2026