/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/ThirdParty/Kraut/KrautGenerator/Mesh/TreeMesh.h
26 строк
701 B
Jan Krassnigg
Added .gitattributes file to enforce consistent line-endings (#872)
16 фев 2023, 20:57
Не верифицирован
16 фев 2023, 20:57
565458b
Код
Авторство
О чём код?
#pragma once #include <KrautFoundation/Containers/Array.h> #include <KrautGenerator/Mesh/BranchMesh.h> namespace Kraut { using namespace AE_NS_FOUNDATION; struct KRAUT_DLL TreeMesh { TreeMesh(); ~TreeMesh(); TreeMesh(TreeMesh&&) = delete; void operator=(TreeMesh&&) = delete; void Clear(); aeUInt32 GetNumTriangles() const; aeUInt32 GetNumTriangles(Kraut::BranchGeometryType::Enum geometryType) const; // the index of each BranchMesh correlates 1:1 to TreeStructure::m_BranchStructures and can be used // to look up things like the branch type and material from the TreeStructure aeArray<Kraut::BranchMesh> m_BranchMeshes; }; } // namespace Kraut