Fixed crash
This commit is contained in:
@@ -25,9 +25,9 @@ class Camera:
|
||||
(self.pixelsPerUnit * self.scale) * math.tan(math.radians(self.fov / 2.0))
|
||||
)
|
||||
lookAt = [
|
||||
self.parent.parent.map.position[0] * TILE_WIDTH,
|
||||
self.parent.parent.map.position[1] * TILE_HEIGHT,
|
||||
self.parent.parent.map.position[2] * TILE_DEPTH,
|
||||
self.parent.map.position[0] * TILE_WIDTH,
|
||||
self.parent.map.position[1] * TILE_HEIGHT,
|
||||
self.parent.map.position[2] * TILE_DEPTH,
|
||||
]
|
||||
aspectRatio = vw / vh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user