mirror of https://github.com/axmolengine/axmol.git
code simplify
This commit is contained in:
parent
7546bfe9af
commit
086b01321c
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue