Add support for cameras

This commit is contained in:
Edwin Jakobs
2020-05-26 19:29:08 +02:00
parent 5869b8d023
commit 158af5fb3b
5 changed files with 122 additions and 2 deletions

View File

@@ -58,3 +58,7 @@ abstract class Light : Entity() {
var color: ColorRGBa = ColorRGBa.WHITE
}
abstract class Camera : Entity() {
abstract val projectionMatrix: Matrix44
abstract val viewMatrix: Matrix44
}