2#ifndef LIBSBX_PHYSICS_SHAPE_COLLIDER_HPP_
3#define LIBSBX_PHYSICS_SHAPE_COLLIDER_HPP_
8#include <libsbx/units/mass.hpp>
9#include <libsbx/units/distance.hpp>
10#include <libsbx/units/time.hpp>
12#include <libsbx/math/vector3.hpp>
13#include <libsbx/math/matrix4x4.hpp>
14#include <libsbx/math/volume.hpp>
16namespace sbx::physics {
19 std::float_t radius{0.5f};
23 std::float_t radius{0.5f};
24 std::float_t half_height{0.5f};
28 std::float_t radius{0.5f};
29 std::float_t half_height{0.5f};
42using convex_shape = std::variant<sphere, cylinder, capsule, box, triangle>;
47 std::float_t friction{0.5f};
48 std::float_t restitution{0.0f};
Definition: matrix3x3.hpp:26
Definition: matrix4x4.hpp:26
Definition: vector3.hpp:23
Definition: volume.hpp:14
Definition: shape_collider.hpp:32
Definition: shape_collider.hpp:27
Definition: shape_collider.hpp:22
Definition: shape_collider.hpp:44
Definition: shape_collider.hpp:18
Definition: shape_collider.hpp:36