// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Utility module" // For conditions of distribution and use, see copyright notice in Config.hpp #include #include #include #include namespace Nz { inline Mesh::Mesh() : m_materialData(1), m_aabbUpdated(false), m_isValid(false) { } inline std::shared_ptr Mesh::Build(std::shared_ptr staticMesh) { std::shared_ptr mesh = std::make_shared(); mesh->CreateStatic(); mesh->AddSubMesh(std::move(staticMesh)); return mesh; } } #include