Minor const changes.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6402 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2022-05-15 13:43:32 +00:00 committed by sfan5
parent 6a9e0f109c
commit 424eb85f4d
2 changed files with 2 additions and 2 deletions

@ -476,7 +476,7 @@ core::array<ISkinnedMesh::SJoint*> CB3DMeshWriter::getRootJoints(const ISkinnedM
return roots; return roots;
} }
u32 CB3DMeshWriter::getUVlayerCount(IMesh* mesh) u32 CB3DMeshWriter::getUVlayerCount(const IMesh* mesh)
{ {
const u32 numBeshBuffers = mesh->getMeshBufferCount(); const u32 numBeshBuffers = mesh->getMeshBufferCount();
for (u32 i = 0; i < numBeshBuffers; i++) for (u32 i = 0; i < numBeshBuffers; i++)

@ -37,7 +37,7 @@ private:
u32 getJointChunkSize(const ISkinnedMesh* mesh, ISkinnedMesh::SJoint* joint); u32 getJointChunkSize(const ISkinnedMesh* mesh, ISkinnedMesh::SJoint* joint);
core::array<ISkinnedMesh::SJoint*> getRootJoints(const ISkinnedMesh* mesh); core::array<ISkinnedMesh::SJoint*> getRootJoints(const ISkinnedMesh* mesh);
u32 getUVlayerCount(IMesh *mesh); u32 getUVlayerCount(const IMesh *mesh);
ISkinnedMesh* getSkinned (IMesh *mesh); ISkinnedMesh* getSkinned (IMesh *mesh);
inline void writeVector2(io::IWriteFile* file, const core::vector2df& vec); inline void writeVector2(io::IWriteFile* file, const core::vector2df& vec);