mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Mark a bunch of classes as final
This commit is contained in:
parent
3fb4049612
commit
e55fb6da71
15 changed files with 18 additions and 17 deletions
|
@ -13,7 +13,7 @@ namespace scene
|
|||
{
|
||||
//! Template implementation of the IIndexBuffer interface
|
||||
template <class T>
|
||||
class CIndexBuffer : public IIndexBuffer
|
||||
class CIndexBuffer final : public IIndexBuffer
|
||||
{
|
||||
public:
|
||||
//! Default constructor for empty buffer
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace scene
|
|||
{
|
||||
//! Template implementation of the IMeshBuffer interface
|
||||
template <class T>
|
||||
class CMeshBuffer : public IMeshBuffer
|
||||
class CMeshBuffer final : public IMeshBuffer
|
||||
{
|
||||
public:
|
||||
//! Default constructor for empty meshbuffer
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace scene
|
|||
{
|
||||
//! Template implementation of the IVertexBuffer interface
|
||||
template <class T>
|
||||
class CVertexBuffer : public IVertexBuffer
|
||||
class CVertexBuffer final : public IVertexBuffer
|
||||
{
|
||||
public:
|
||||
//! Default constructor for empty buffer
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace scene
|
|||
{
|
||||
|
||||
//! Simple implementation of the IAnimatedMesh interface.
|
||||
struct SAnimatedMesh : public IAnimatedMesh
|
||||
struct SAnimatedMesh final : public IAnimatedMesh
|
||||
{
|
||||
//! constructor
|
||||
SAnimatedMesh(scene::IMesh *mesh = 0, scene::E_ANIMATED_MESH_TYPE type = scene::EAMT_UNKNOWN) :
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace irr
|
|||
namespace scene
|
||||
{
|
||||
//! Simple implementation of the IMesh interface.
|
||||
struct SMesh : public IMesh
|
||||
struct SMesh final : public IMesh
|
||||
{
|
||||
//! constructor
|
||||
SMesh()
|
||||
|
|
|
@ -16,7 +16,7 @@ namespace scene
|
|||
{
|
||||
|
||||
//! A mesh buffer able to choose between S3DVertex2TCoords, S3DVertex and S3DVertexTangents at runtime
|
||||
struct SSkinMeshBuffer : public IMeshBuffer
|
||||
struct SSkinMeshBuffer final : public IMeshBuffer
|
||||
{
|
||||
//! Default constructor
|
||||
SSkinMeshBuffer(video::E_VERTEX_TYPE vt = video::EVT_STANDARD) :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue