aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/Camera.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/Camera.kt')
-rw-r--r--src/main/kotlin/Camera.kt6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/kotlin/Camera.kt b/src/main/kotlin/Camera.kt
index 7d4bcfc..4eb8d43 100644
--- a/src/main/kotlin/Camera.kt
+++ b/src/main/kotlin/Camera.kt
@@ -1,8 +1,6 @@
-class Camera(
+data class Camera(
val fov: Int,
var xPos: Double,
var yPos: Double,
var rotation: Double
-) {
- val halfFov = fov / 2
-} \ No newline at end of file
+) \ No newline at end of file