0.2.0-dev Download ZIP
21 lines ·422 B Raw
| 1 | // Jolt Physics Library (https://github.com/jrouwe/JoltPhysics) |
| 2 | // SPDX-FileCopyrightText: 2026 Jorrit Rouwe |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | |
| 5 | #pragma once |
| 6 | |
| 7 | #include <Jolt/Core/UnorderedMapFwd.h> |
| 8 | |
| 9 | JPH_NAMESPACE_BEGIN |
| 10 | |
| 11 | namespace StreamUtils { |
| 12 | |
| 13 | template <class Type> |
| 14 | using ObjectToIDMap = UnorderedMap<const Type *, uint32>; |
| 15 | |
| 16 | template <class Type> |
| 17 | using IDToObjectMap = Array<Ref<Type>>; |
| 18 | |
| 19 | } // StreamUtils |
| 20 | |
| 21 | JPH_NAMESPACE_END |