示例#1
0
 public Camera Camera(IAccelerator acc, Light[] lights, EnvironmentSettings es)
 {
     Camera cam = new Camera((int)this.Width, (int)this.Height, this.ScreenDistance, this.FoVH, acc, lights, es);
     cam.Position = this.Position;
     cam.LookAt = this.Lookat;
     cam.Roll = Roll;
     cam.MakeDirty();
     return cam;
 }