From 7c7eaadd73a86028418e0d3d987cd08d5df14265 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 13 Sep 2024 10:02:09 -0500 Subject: [PATCH] Update core.h Fixed description of camera-3d function (arguments were wrong) --- src/core.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core.h b/src/core.h index a893ef9..1686fa0 100644 --- a/src/core.h +++ b/src/core.h @@ -1295,13 +1295,13 @@ static JanetReg core_cfuns[] = { " - :zoom = Camera zoom (scaling), should be 1.0f by default \n" }, {"camera-3d", cfun_Camera3D, - "(camera-3d :position [x y z] :target [x y z] :up [x y z] :fov-y float :projection int)\n\n" + "(camera-3d :position [x y z] :target [x y z] :up [x y z] :fovy float :type int)\n\n" "Instantiate a Camera3D. \n" " - :position = Camera position \n" " - :target = Camera target it looks-at \n" " - :up = Camera up vector (rotation over its axis) \n" - " - :fov-y = Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic \n" - " - :projection = Camera projection: CAMERA\\_PERSPECTIVE or CAMERA\\_ORTHOGRAPHIC \n" + " - :fovy = Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic \n" + " - :type = Camera projection: :perspective or :orthographic \n" }, {"update-camera", cfun_UpdateCamera, "(update-camera camera mode)\n\n"