From 424eb85f4d6a4f9d7238e469e27cc4f82bffd477 Mon Sep 17 00:00:00 2001 From: cutealien Date: Sun, 15 May 2022 13:43:32 +0000 Subject: [PATCH] Minor const changes. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6402 dfc29bdd-3216-0410-991c-e03cc46cb475 --- source/Irrlicht/CB3DMeshWriter.cpp | 2 +- source/Irrlicht/CB3DMeshWriter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Irrlicht/CB3DMeshWriter.cpp b/source/Irrlicht/CB3DMeshWriter.cpp index 3b5e49a..2b4a679 100644 --- a/source/Irrlicht/CB3DMeshWriter.cpp +++ b/source/Irrlicht/CB3DMeshWriter.cpp @@ -476,7 +476,7 @@ core::array CB3DMeshWriter::getRootJoints(const ISkinnedM return roots; } -u32 CB3DMeshWriter::getUVlayerCount(IMesh* mesh) +u32 CB3DMeshWriter::getUVlayerCount(const IMesh* mesh) { const u32 numBeshBuffers = mesh->getMeshBufferCount(); for (u32 i = 0; i < numBeshBuffers; i++) diff --git a/source/Irrlicht/CB3DMeshWriter.h b/source/Irrlicht/CB3DMeshWriter.h index 4a74f21..86a35d9 100644 --- a/source/Irrlicht/CB3DMeshWriter.h +++ b/source/Irrlicht/CB3DMeshWriter.h @@ -37,7 +37,7 @@ private: u32 getJointChunkSize(const ISkinnedMesh* mesh, ISkinnedMesh::SJoint* joint); core::array getRootJoints(const ISkinnedMesh* mesh); - u32 getUVlayerCount(IMesh *mesh); + u32 getUVlayerCount(const IMesh *mesh); ISkinnedMesh* getSkinned (IMesh *mesh); inline void writeVector2(io::IWriteFile* file, const core::vector2df& vec);