code simplify

This commit is contained in:
yangxiao 2015-06-24 14:10:38 +08:00
parent 7546bfe9af
commit 086b01321c
1 changed files with 2 additions and 8 deletions

View File

@ -1278,14 +1278,8 @@ bool Terrain::Chunk::getInsterctPointWithRay(const Ray& ray, Vec3 &interscetPoin
isFind =true;
}
}
if (isFind)
{
return true;
}
else
{
return false;
}
return isFind;
}
void Terrain::Chunk::updateVerticesForLOD()