/
BirdLeon
/
ROBLOX2016
Обзор
Документация
Войти
/
BirdLeon
/
ROBLOX2016
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
App/util/PhysicalProperties.cpp
24 строки
500 B
PatoFlamejanteTV
full source code
19 дек 2024, 19:11
19 дек 2024, 19:11
05db15d
Код
Авторство
О чём код?
#include "stdafx.h" #include "util/PhysicalProperties.h" namespace RBX { size_t PhysicalProperties::hashCode() const { size_t seed = 0; boost::hash_combine(seed, customEnabled); boost::hash_combine(seed, density); boost::hash_combine(seed, friction); boost::hash_combine(seed, frictionWeight); boost::hash_combine(seed, elasticity); boost::hash_combine(seed, elasticityWeight); return seed; } size_t hash_value(const PhysicalProperties& properties) { return properties.hashCode(); } }