mirror of
https://github.com/aap/librw.git
synced 2025-12-23 10:59:57 +00:00
implemented im2d for d3d, fun little software T&L renderer
This commit is contained in:
@@ -284,6 +284,9 @@ Camera::create(void)
|
||||
cam->fogPlane = 5.0f;
|
||||
cam->projection = Camera::PERSPECTIVE;
|
||||
|
||||
cam->frameBuffer = nil;
|
||||
cam->zBuffer = nil;
|
||||
|
||||
// clump extension
|
||||
cam->clump = nil;
|
||||
cam->inClump.init();
|
||||
@@ -315,6 +318,10 @@ Camera::clone(void)
|
||||
cam->farPlane = this->farPlane;
|
||||
cam->fogPlane = this->fogPlane;
|
||||
cam->projection = this->projection;
|
||||
|
||||
cam->frameBuffer = this->frameBuffer;
|
||||
cam->zBuffer = this->zBuffer;
|
||||
|
||||
s_plglist.copy(cam, this);
|
||||
return cam;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user