public MediumInterface(Medium inside, Medium outside) { Inside = inside; Outside = outside; }
protected Camera(AnimatedTransform cameraToWorld, double shutterOpen, double shutterClose, Film film, Medium medium) { CameraToWorld = cameraToWorld; ShutterOpen = shutterOpen; ShutterClose = shutterClose; Film = film; Medium = medium; if (CameraToWorld.HasScale()) { // todo: //Warning( // "Scaling detected in world-to-camera transformation!\n" //"The system has numerous assumptions, implicit and explicit,\n" //"that this transform will have no scale factors in it.\n" //"Proceed at your own risk; your image may have errors or\n" //"the system may crash as a result of this."); } }
public MediumInterface(Medium medium) { Inside = medium; Outside = medium; }