|
group2 0.1.0
CSE 125 Group 2
|
Serialization + deserialization of cooked trimesh blobs. More...
Namespaces | |
| namespace | physics |
| Pure physics math — no ECS types, no registry. | |
| namespace | physics::cook |
Functions | |
| std::vector< uint8_t > | physics::cook::serialize (const WorldTriMesh &mesh) |
| Serialize a fully-cooked WorldTriMesh to a contiguous byte vector. | |
| bool | physics::cook::deserialize (std::span< const uint8_t > blob, WorldTriMesh &out) |
| Deserialize a cooked blob back into a WorldTriMesh. | |
| bool | physics::cook::writeToFile (std::string_view path, const WorldTriMesh &mesh) |
| Convenience: write a serialized blob to a file. | |
| bool | physics::cook::readFromFile (std::string_view path, WorldTriMesh &out) |
| Convenience: read a file into memory and deserialize. | |
Serialization + deserialization of cooked trimesh blobs.