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.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/kotlin/Camera.kt b/src/main/kotlin/Camera.kt
new file mode 100644
index 0000000..7d4bcfc
--- /dev/null
+++ b/src/main/kotlin/Camera.kt
@@ -0,0 +1,8 @@
+class Camera(
+ val fov: Int,
+ var xPos: Double,
+ var yPos: Double,
+ var rotation: Double
+) {
+ val halfFov = fov / 2
+} \ No newline at end of file