Fix unity build

This commit is contained in:
Jérôme Leclercq 2022-11-28 11:14:40 +01:00 committed by GitHub
parent 2ac59cd7fb
commit f42df21660
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -16,7 +16,7 @@
namespace Nz
{
namespace
namespace NAZARA_ANONYMOUS_NAMESPACE
{
template<typename T>
class VertexCache
@ -59,6 +59,8 @@ namespace Nz
bool SaveOBJToStream(const Mesh& mesh, const std::string& format, Stream& stream, const MeshParams& parameters)
{
NAZARA_USE_ANONYMOUS_NAMESPACE
NazaraUnused(parameters);
if (!mesh.IsValid())
@ -219,6 +221,8 @@ namespace Nz
{
MeshSaver::Entry GetMeshSaver_OBJ()
{
NAZARA_USE_ANONYMOUS_NAMESPACE
MeshSaver::Entry entry;
entry.formatSupport = IsOBJSupportedSave;
entry.streamSaver = SaveOBJToStream;