mirror of
https://github.com/minetest/minetest.git
synced 2024-07-08 17:05:28 +02:00
Clean up code style
This commit is contained in:
parent
26276729ed
commit
1baa3f1e34
@ -7,6 +7,8 @@
|
|||||||
#include "IMeshBuffer.h"
|
#include "IMeshBuffer.h"
|
||||||
#include "S3DVertex.h"
|
#include "S3DVertex.h"
|
||||||
|
|
||||||
|
#include <stdexcept>
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
{
|
{
|
||||||
namespace scene
|
namespace scene
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#ifndef __C_GLTF_MESH_FILE_LOADER_INCLUDED__
|
#pragma once
|
||||||
#define __C_GLTF_MESH_FILE_LOADER_INCLUDED__
|
|
||||||
|
|
||||||
#include "ISkinnedMesh.h"
|
#include "ISkinnedMesh.h"
|
||||||
#include "IMeshLoader.h"
|
#include "IMeshLoader.h"
|
||||||
@ -54,7 +53,7 @@ class CGLTFMeshFileLoader : public IMeshLoader
|
|||||||
ISkinnedMesh *mesh) noexcept
|
ISkinnedMesh *mesh) noexcept
|
||||||
: m_gltf_model(model), m_irr_model(mesh) {};
|
: m_gltf_model(model), m_irr_model(mesh) {};
|
||||||
|
|
||||||
MeshExtractor(const tiniergltf::GlTF &&model,
|
MeshExtractor(tiniergltf::GlTF &&model,
|
||||||
ISkinnedMesh *mesh) noexcept
|
ISkinnedMesh *mesh) noexcept
|
||||||
: m_gltf_model(model), m_irr_model(mesh) {};
|
: m_gltf_model(model), m_irr_model(mesh) {};
|
||||||
|
|
||||||
@ -141,5 +140,3 @@ class CGLTFMeshFileLoader : public IMeshLoader
|
|||||||
|
|
||||||
} // namespace irr
|
} // namespace irr
|
||||||
|
|
||||||
#endif // __C_GLTF_MESH_FILE_LOADER_INCLUDED__
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user