Missed a bit

This commit is contained in:
pahimar 2013-04-12 16:05:56 -04:00
parent 6bb839e13c
commit 46eeadf3a2
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ public class Face
float averageU = 0F;
float averageV = 0F;
if ((textureCoordinates != null) && (textureCoordinates.length != 0))
if ((textureCoordinates != null) && (textureCoordinates.length > 0))
{
for (int i = 0; i < textureCoordinates.length; ++i)
{
@ -48,7 +48,7 @@ public class Face
for (int i = 0; i < vertices.length; ++i)
{
if ((textureCoordinates != null) && (textureCoordinates.length != 0))
if ((textureCoordinates != null) && (textureCoordinates.length > 0))
{
offsetU = textureOffset;
offsetV = textureOffset;