Missed a bit
This commit is contained in:
parent
6bb839e13c
commit
46eeadf3a2
|
@ -31,7 +31,7 @@ public class Face
|
||||||
float averageU = 0F;
|
float averageU = 0F;
|
||||||
float averageV = 0F;
|
float averageV = 0F;
|
||||||
|
|
||||||
if ((textureCoordinates != null) && (textureCoordinates.length != 0))
|
if ((textureCoordinates != null) && (textureCoordinates.length > 0))
|
||||||
{
|
{
|
||||||
for (int i = 0; i < textureCoordinates.length; ++i)
|
for (int i = 0; i < textureCoordinates.length; ++i)
|
||||||
{
|
{
|
||||||
|
@ -48,7 +48,7 @@ public class Face
|
||||||
for (int i = 0; i < vertices.length; ++i)
|
for (int i = 0; i < vertices.length; ++i)
|
||||||
{
|
{
|
||||||
|
|
||||||
if ((textureCoordinates != null) && (textureCoordinates.length != 0))
|
if ((textureCoordinates != null) && (textureCoordinates.length > 0))
|
||||||
{
|
{
|
||||||
offsetU = textureOffset;
|
offsetU = textureOffset;
|
||||||
offsetV = textureOffset;
|
offsetV = textureOffset;
|
||||||
|
|
Loading…
Reference in New Issue