Loading...
Searching...
No Matches
Camera.java
Go to the documentation of this file.
1package com.navigine.idl.java;
2
25public final class Camera {
26
27
28 /*package*/ final Point point;
29
30 /*package*/ final float zoom;
31
32 /*package*/ final float rotation;
33
34 /*package*/ final float tilt;
35
39 public Camera(
40 Point point,
41 float zoom,
42 float rotation,
43 float tilt) {
44 this.point = point;
45 this.zoom = zoom;
46 this.rotation = rotation;
47 this.tilt = tilt;
48 }
49
53 public Point getPoint() {
54 return point;
55 }
56
60 public float getZoom() {
61 return zoom;
62 }
63
68 public float getRotation() {
69 return rotation;
70 }
71
76 public float getTilt() {
77 return tilt;
78 }
79
80 @Override
81 public String toString() {
82 return "Camera{" +
83 "point=" + point +
84 "," + "zoom=" + zoom +
85 "," + "rotation=" + rotation +
86 "," + "tilt=" + tilt +
87 "}";
88 }
89
90}