summaryrefslogtreecommitdiff
path: root/modules/gltf/structures/gltf_camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gltf/structures/gltf_camera.h')
-rw-r--r--modules/gltf/structures/gltf_camera.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gltf/structures/gltf_camera.h b/modules/gltf/structures/gltf_camera.h
index 714ec21693..8e528c063f 100644
--- a/modules/gltf/structures/gltf_camera.h
+++ b/modules/gltf/structures/gltf_camera.h
@@ -44,7 +44,7 @@ private:
// GLTF has no default camera values, they should always be specified in
// the GLTF file. Here we default to Godot's default camera settings.
bool perspective = true;
- real_t fov = Math::deg2rad(75.0);
+ real_t fov = Math::deg_to_rad(75.0);
real_t size_mag = 0.5;
real_t depth_far = 4000.0;
real_t depth_near = 0.05;