/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/EnginePlugins/AiPlugin/Utils/RcMath.h
23 строки
552 B
Jan Krassnigg
Added functionality for runtime navmesh generation (#1043)
16 сен 2023, 12:46
Не верифицирован
16 сен 2023, 12:46
3353bfa
Код
Авторство
О чём код?
#pragma once #include <AiPlugin/AiPluginDLL.h> #include <Foundation/Math/Vec3.h> /// \brief Helper class to convert between Recast's convention (float[3] and Y is up) and ezVec3 (Z up) /// /// Will automatically swap Y and Z when assigning between the different types. struct EZ_AIPLUGIN_DLL ezRcPos { float m_Pos[3]; ezRcPos(); ezRcPos(const float* pPos); ezRcPos(const ezVec3& v); void operator=(const ezVec3& v); void operator=(const float* pPos); operator const float*() const; operator float*(); operator ezVec3() const; };