aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/Raycaster.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/Raycaster.kt')
-rw-r--r--src/main/kotlin/Raycaster.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/Raycaster.kt b/src/main/kotlin/Raycaster.kt
index 04b4d6f..f012ba8 100644
--- a/src/main/kotlin/Raycaster.kt
+++ b/src/main/kotlin/Raycaster.kt
@@ -51,7 +51,7 @@ class Raycaster {
raySweepAngle += (camera.fov / viewportWidth.toDouble())
}
- console.log("Viewport raycast in ${Date().getTime() - raycastStartMs}ms")
+ Logger.log("last frame: ${Date().getTime() - raycastStartMs} ms")
}
private fun drawWallTexture(rayIndex: Int, wallHeight: Double, textureXIndex: Int, texture: Texture, renderer: Renderer) {