summaryrefslogtreecommitdiff
path: root/modules/gltf/gltf_camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gltf/gltf_camera.h')
-rw-r--r--modules/gltf/gltf_camera.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gltf/gltf_camera.h b/modules/gltf/gltf_camera.h
index e5c2041793..bf94b80bef 100644
--- a/modules/gltf/gltf_camera.h
+++ b/modules/gltf/gltf_camera.h
@@ -38,8 +38,8 @@ class GLTFCamera : public Resource {
private:
bool perspective = true;
- float fov_size = 75;
- float zfar = 4000;
+ float fov_size = 75.0;
+ float zfar = 4000.0;
float znear = 0.05;
protected: