Correction des split() qui renvoyaient true au lieu de false.

This commit is contained in:
Georges Dupéron 2011-12-22 12:46:56 +01:00
parent d5bdb87560
commit a726e13737
7 changed files with 3 additions and 7 deletions

View File

@ -32,7 +32,6 @@ void Lod::setCamera(Vertex newCamera) {
Chose* c;
int pos = NegateOdd(camera[i>>1], i);
while((c = split[2*i+1].popIfLessThan(pos))) {
std::cout << "soi " << (int)(c) << std::endl;
if(c->lod.inCounter == 5) {
for(int j = 0; j < 6; j++) {
if(i == j) continue;

View File

@ -26,8 +26,7 @@ void BatimentQuadJardin::getBoundingBoxPoints() {
}
bool BatimentQuadJardin::split() {
return true;
return false;
}
void BatimentQuadJardin::triangulation() {

View File

@ -19,7 +19,7 @@ void BatimentQuadPont::getBoundingBoxPoints() {
}
bool BatimentQuadPont::split() {
return true;
return false;
}
float ct(float x) {

View File

@ -50,6 +50,7 @@ Chose* QuartierQuad::factory(int seed, int n, Vertex ne, Vertex se, Vertex sw, V
}
bool QuartierQuad::split() {
std::cout << "ERROR : QuartierQuad cannot be split." << std::endl;
return false;
}

View File

@ -25,7 +25,6 @@ void RouteQuadCarrefour::getBoundingBoxPoints() {
}
bool RouteQuadCarrefour::split() {
// TODO
return false;
}

View File

@ -25,7 +25,6 @@ void RouteQuadChaussee::getBoundingBoxPoints() {
}
bool RouteQuadChaussee::split() {
// TODO
return false;
}

View File

@ -28,7 +28,6 @@ void TrottoirQuadNormal::getBoundingBoxPoints() {
}
bool TrottoirQuadNormal::split() {
// TODO
return false;
}