/Users/lyon/j4p/src/graphics/raytracers/tracer/view.java
|
1 package graphics.raytracers.tracer;
2
3 import graphics.raytracers.tracer.geometry.Vector3d;
4
5 public class view {
6 private Vector3d from;
7 private Vector3d at;
8 private Vector3d up;
9 private double dist;
10 private double angle;
11 private double aspect;
12
13 public Vector3d getFrom() {
14 return from;
15 }
16
17 public void setFrom(Vector3d from) {
18 this.from = from;
19 }
20
21 public Vector3d getAt() {
22 return at;
23 }
24
25 public void setAt(Vector3d at) {
26 this.at = at;
27 }
28
29 public Vector3d getUp() {
30 return up;
31 }
32
33 public void setUp(Vector3d up) {
34 this.up = up;
35 }
36
37 public double getDist() {
38 return dist;
39 }
40
41 public void setDist(double dist) {
42 this.dist = dist;
43 }
44
45 public double getAngle() {
46 return angle;
47 }
48
49 public void setAngle(double angle) {
50 this.angle = angle;
51 }
52
53 public double getAspect() {
54 return aspect;
55 }
56
57 public void setAspect(double aspect) {
58 this.aspect = aspect;
59 }
60 }
61
62