fixed bug in im3d; worked on resizing windows

This commit is contained in:
aap
2017-10-21 22:21:36 +02:00
parent 7273afb9a3
commit 9609a91848
9 changed files with 53 additions and 15 deletions

View File

@@ -344,8 +344,7 @@ Camera::clear(RGBA *col, uint32 mode)
void
Camera::showRaster(void)
{
// TODO: camera raster
engine->device.showRaster(nil);
engine->device.showRaster(this->frameBuffer);
}
void
@@ -420,6 +419,7 @@ Camera::frustumTestSphere(Sphere *s)
return SPHEREOUTSIDE;
if(s->radius > -dist)
res = SPHEREBOUNDARY;
p++;
}
return res;
}