engine/collisions/shapes/voxel.hpp file

Component cubos::engine::VoxelCollisionShape.

Namespaces

namespace cubos
Cubos libraries namespace.
namespace cubos::engine
Engine module.

Classes

class cubos::engine::VoxelCollisionShape
Component which adds a collision shape corresponding to a given voxel grid to an entity, used with a Collider component.
struct cubos::engine::VoxelCollisionShape::BoxShiftPair
Struct which holds a sub-box of the voxel collision shape, and its shift from the center of the shape.