38 explicit Hull(std::shared_ptr<Buffers::VKBuffer> buf,
41 std::optional<uint32_t> collection = std::nullopt);
44 [[nodiscard]]
bool contains(
const glm::vec3& p)
const override;
56 [[nodiscard]] std::pair<glm::vec3, float> reach()
const override;
61 std::shared_ptr<Buffers::VKBuffer>
m_buf;
Expanse::ContainsFn contains
Expanse::CrossingFn on_enter
Expanse::CrossingFn on_exit
std::function< void(uint32_t)> CrossingFn
A defined region of space with a containment test and crossing actions.
std::optional< uint32_t > m_collection
std::optional< Kinesis::AABB3D > m_local
std::shared_ptr< Buffers::VKBuffer > m_buf
An Expanse whose region is the bounds of a buffer that already exists.
Serializes Fabric state to an EXR texture and JSON schema.