/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/ThirdParty/Jolt/Core/UnorderedSet.h
33 строки
793 B
Jan Krassnigg
Updated Jolt to version 5.5.0 (#1778)
20 янв 2026, 10:54
Не верифицирован
20 янв 2026, 10:54
c41ee15
Код
Авторство
О чём код?
// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics) // SPDX-FileCopyrightText: 2024 Jorrit Rouwe // SPDX-License-Identifier: MIT #pragma once #include <Jolt/Core/HashTable.h> #include <Jolt/Core/UnorderedSetFwd.h> JPH_NAMESPACE_BEGIN /// Internal helper class to provide context for UnorderedSet template <class Key> class UnorderedSetDetail { public: /// The key is the key, just return it static const Key & sGetKey(const Key &inKey) { return inKey; } }; /// Hash Set class /// @tparam Key Key type /// @tparam Hash Hash function (note should be 64-bits) /// @tparam KeyEqual Equality comparison function template <class Key, class Hash, class KeyEqual> class UnorderedSet : public HashTable<Key, Key, UnorderedSetDetail<Key>, Hash, KeyEqual> { }; JPH_NAMESPACE_END