Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
UnorderedSet.h
Go to the documentation of this file.
1// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
2// SPDX-FileCopyrightText: 2024 Jorrit Rouwe
3// SPDX-License-Identifier: MIT
4
5#pragma once
6
9
11
13template <class Key>
15{
16public:
18 static const Key & sGetKey(const Key &inKey)
19 {
20 return inKey;
21 }
22};
23
28template <class Key, class Hash, class KeyEqual>
29class UnorderedSet : public HashTable<Key, Key, UnorderedSetDetail<Key>, Hash, KeyEqual>
30{
31};
32
#define JPH_NAMESPACE_END
Definition Core.h:425
#define JPH_NAMESPACE_BEGIN
Definition Core.h:419
Definition HashTable.h:16
Internal helper class to provide context for UnorderedSet.
Definition UnorderedSet.h:15
static const Key & sGetKey(const Key &inKey)
The key is the key, just return it.
Definition UnorderedSet.h:18
Definition UnorderedSet.h:30