mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Rename all member variables to follow the style guidelines (prefixed with the 'm') - ColladaExtensions
This commit is contained in:
parent
733347fd61
commit
9aeb4389f3
6 changed files with 101 additions and 101 deletions
|
|
@ -82,9 +82,9 @@ ColladaAppMaterial::ColladaAppMaterial(const domMaterial *pMat)
|
|||
const domCommon_color_or_texture_type_complexType* domSpecular = findEffectSpecular(effect);
|
||||
|
||||
// Wrap flags
|
||||
if (effectExt->wrapU)
|
||||
if (effectExt->mWrapU)
|
||||
flags |= TSMaterialList::S_Wrap;
|
||||
if (effectExt->wrapV)
|
||||
if (effectExt->mWrapV)
|
||||
flags |= TSMaterialList::T_Wrap;
|
||||
|
||||
// Set material attributes
|
||||
|
|
@ -146,13 +146,13 @@ ColladaAppMaterial::ColladaAppMaterial(const domMaterial *pMat)
|
|||
}
|
||||
|
||||
// Double-sided flag
|
||||
doubleSided = effectExt->double_sided;
|
||||
doubleSided = effectExt->mDoubleSided;
|
||||
|
||||
// Get the paths for the various textures => Collada indirection at its finest!
|
||||
// <texture>.<newparam>.<sampler2D>.<source>.<newparam>.<surface>.<init_from>.<image>.<init_from>
|
||||
diffuseMap = getSamplerImagePath(effect, getTextureSampler(effect, domDiffuse));
|
||||
specularMap = getSamplerImagePath(effect, getTextureSampler(effect, domSpecular));
|
||||
normalMap = getSamplerImagePath(effect, effectExt->bumpSampler);
|
||||
normalMap = getSamplerImagePath(effect, effectExt->mBumpSampler);
|
||||
|
||||
// Set the material name
|
||||
name = ColladaUtils::getOptions().mMatNamePrefix;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue