correct spot light init value

This commit is contained in:
yangxiao 2015-10-08 11:27:02 +08:00
parent 2dbe0c1a90
commit d6eb1b938f
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ void Mesh::resetLightUniformValues()
_spotLightUniformColorValues.assign(maxSpotLight, Vec3::ZERO);
_spotLightUniformPositionValues.assign(maxSpotLight, Vec3::ZERO);
_spotLightUniformDirValues.assign(maxSpotLight, Vec3::ZERO);
_spotLightUniformInnerAngleCosValues.assign(maxSpotLight, 0.0f);
_spotLightUniformInnerAngleCosValues.assign(maxSpotLight, 1.0f);
_spotLightUniformOuterAngleCosValues.assign(maxSpotLight, 0.0f);
_spotLightUniformRangeInverseValues.assign(maxSpotLight, 0.0f);
}