Correction des split() qui renvoyaient true au lieu de false.
This commit is contained in:
parent
d5bdb87560
commit
a726e13737
1
lod.cpp
1
lod.cpp
|
@ -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;
|
||||
|
|
|
@ -26,8 +26,7 @@ void BatimentQuadJardin::getBoundingBoxPoints() {
|
|||
}
|
||||
|
||||
bool BatimentQuadJardin::split() {
|
||||
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
void BatimentQuadJardin::triangulation() {
|
||||
|
|
|
@ -19,7 +19,7 @@ void BatimentQuadPont::getBoundingBoxPoints() {
|
|||
}
|
||||
|
||||
bool BatimentQuadPont::split() {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
float ct(float x) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@ void RouteQuadCarrefour::getBoundingBoxPoints() {
|
|||
}
|
||||
|
||||
bool RouteQuadCarrefour::split() {
|
||||
// TODO
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@ void RouteQuadChaussee::getBoundingBoxPoints() {
|
|||
}
|
||||
|
||||
bool RouteQuadChaussee::split() {
|
||||
// TODO
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ void TrottoirQuadNormal::getBoundingBoxPoints() {
|
|||
}
|
||||
|
||||
bool TrottoirQuadNormal::split() {
|
||||
// TODO
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user