Beispiel #1
0
 private Vector GetPoint(float x, float y, Camera camera)
 {
     return Vector.Norm(Vector.Plus(camera.Forward, Vector.Plus(Vector.Times(RecenterX(x), camera.Right),
                                                                Vector.Times(RecenterY(y), camera.Up))));
 }
Beispiel #2
0
 public Scene(SceneObject[] things, Light[] lights, Camera camera)
 {
     Things = things; Lights = lights; Camera = camera;
 }