Fix spelling mistake
This commit is contained in:
@@ -67,7 +67,7 @@ bool RemoveVCProcess::IsActive(unsigned int pFlags) const {
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
// Small helper function to delete all elements in a T** aray using delete
|
||||
// Small helper function to delete all elements in a T** array using delete
|
||||
template <typename T>
|
||||
inline void ArrayDelete(T **&in, unsigned int &num) {
|
||||
for (unsigned int i = 0; i < num; ++i)
|
||||
|
||||
@@ -118,7 +118,7 @@ void ScaleProcess::Execute( aiScene* pScene ) {
|
||||
{
|
||||
aiMesh *mesh = pScene->mMeshes[meshID];
|
||||
|
||||
// Reconstruct mesh vertexes to the new unit system
|
||||
// Reconstruct mesh vertices to the new unit system
|
||||
for( unsigned int vertexID = 0; vertexID < mesh->mNumVertices; vertexID++)
|
||||
{
|
||||
aiVector3D& vertex = mesh->mVertices[vertexID];
|
||||
|
||||
@@ -129,7 +129,7 @@ void SplitLargeMeshesProcess_Triangle::UpdateNode(aiNode* pcNode,
|
||||
pcNode->mMeshes[b] = aiEntries[b];
|
||||
}
|
||||
|
||||
// recusively update all other nodes
|
||||
// recursively update all other nodes
|
||||
for (unsigned int i = 0; i < pcNode->mNumChildren;++i) {
|
||||
UpdateNode ( pcNode->mChildren[i], avList );
|
||||
}
|
||||
|
||||
@@ -178,7 +178,7 @@ void TextureTransformStep::PreProcessUVTransform(STransformVecInfo& info)
|
||||
}
|
||||
else if (aiTextureMapMode_Clamp == info.mapV || aiTextureMapMode_Decal == info.mapV) {
|
||||
// Clamp - translations beyond 1,1 are senseless
|
||||
::ai_snprintf(szTemp,512,"[c] UV V offset %f canbe clamped to 1.0f",info.mTranslation.y);
|
||||
::ai_snprintf(szTemp,512,"[c] UV V offset %f can be clamped to 1.0f",info.mTranslation.y);
|
||||
|
||||
out = 1.f;
|
||||
}
|
||||
@@ -539,7 +539,7 @@ void TextureTransformStep::Execute( aiScene* pScene)
|
||||
m5.a3 += trl.x; m5.b3 += trl.y;
|
||||
matrix = m2 * m4 * matrix * m3 * m5;
|
||||
|
||||
for (src = dest; src != end; ++src) { /* manual homogenious divide */
|
||||
for (src = dest; src != end; ++src) { /* manual homogeneous divide */
|
||||
src->z = 1.f;
|
||||
*src = matrix * *src;
|
||||
src->x /= src->z;
|
||||
|
||||
Reference in New Issue
Block a user