add alias _shadeangle to _smoothnormals
git-svn-id: svn://svn.icculus.org/netradiant/trunk@315 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
parent
00ca297335
commit
4ae10cbf8d
|
|
@ -1028,7 +1028,9 @@ void SmoothMetaTriangles( void )
|
|||
for( i = 0, tri = &metaTriangles[ i ]; i < numMetaTriangles; i++, tri++ )
|
||||
{
|
||||
/* vortex: try get smoothing from entity key */
|
||||
shadeAngle = FloatForKey(&entities[tri->entityNum], "_smoothnormals");
|
||||
shadeAngle = FloatForKey(&entities[tri->entityNum], "_shadeangle");
|
||||
if (shadeAngle <= 0.0f)
|
||||
shadeAngle = FloatForKey(&entities[tri->entityNum], "_smoothnormals");
|
||||
if (shadeAngle <= 0.0f)
|
||||
shadeAngle = FloatForKey(&entities[tri->entityNum], "_sn");
|
||||
if (shadeAngle <= 0.0f)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user