mirror of
https://github.com/aap/librw.git
synced 2025-12-28 05:20:06 +00:00
fixed bug in im3d; worked on resizing windows
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user