| 62 | } |
| 63 | |
| 64 | IECore::RunTimeTypedPtr ToGLCameraConverter::doConversion( IECore::ConstObjectPtr src, IECore::ConstCompoundObjectPtr operands ) const |
| 65 | { |
| 66 | IECoreScene::ConstCameraPtr camera = boost::static_pointer_cast<const IECoreScene::Camera>( src ); |
| 67 | return new Camera( |
| 68 | Imath::M44f(), |
| 69 | camera->getProjection() == "orthographic", |
| 70 | camera->getResolution(), |
| 71 | camera->frustum(), |
| 72 | camera->getClippingPlanes() |
| 73 | ); |
| 74 | } |
nothing calls this directly
no test coverage detected