public object Clone() { ViewPlane vp = new ViewPlane(); vp.VRes = VRes; vp.HRes = HRes; vp.PixelSize = PixelSize; vp.gamma = gamma; vp.InvGamma = InvGamma; vp.Sampler = Sampler; return vp; }
public object Clone() { ViewPlane vp = new ViewPlane(); vp.VRes = VRes; vp.HRes = HRes; vp.PixelSize = PixelSize; vp.gamma = gamma; vp.InvGamma = InvGamma; vp.Sampler = Sampler; return(vp); }
public Camera( Tracer tracer, ViewPlane viewPlane, Vector position, Vector target, Vector up, int maxDepth = 4) { Position = position; Target = target; Up = up; Tracer = tracer; ViewPlane = viewPlane; MaxDepth = maxDepth; UpdateUVW(); }