aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJuan Linietsky2016-12-10 01:13:20 -0300
committerJuan Linietsky2016-12-10 01:13:20 -0300
commit22a90e8f2acce60f92958788a52b3f0bdb1a0cdf (patch)
treef6e0a7282992c9adf3e1c929d2462ae921bcd461 /core
parent18ebd22000478dffc91255e89b9845f74b05b606 (diff)
downloadgodot-22a90e8f2acce60f92958788a52b3f0bdb1a0cdf.tar.gz
godot-22a90e8f2acce60f92958788a52b3f0bdb1a0cdf.tar.zst
godot-22a90e8f2acce60f92958788a52b3f0bdb1a0cdf.zip
DOF blur, near and far fields..
Diffstat (limited to 'core')
-rw-r--r--core/math/camera_matrix.cpp2
-rw-r--r--core/math/camera_matrix.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/math/camera_matrix.cpp b/core/math/camera_matrix.cpp
index fc35908fa..89f3ee1ad 100644
--- a/core/math/camera_matrix.cpp
+++ b/core/math/camera_matrix.cpp
@@ -54,7 +54,7 @@ void CameraMatrix::set_zero() {
}
-Plane CameraMatrix::xform4(const Plane& p_vec4) {
+Plane CameraMatrix::xform4(const Plane& p_vec4) const {
Plane ret;
diff --git a/core/math/camera_matrix.h b/core/math/camera_matrix.h
index 7fcff6376..c597ec403 100644
--- a/core/math/camera_matrix.h
+++ b/core/math/camera_matrix.h
@@ -80,7 +80,7 @@ struct CameraMatrix {
CameraMatrix operator*(const CameraMatrix& p_matrix) const;
- Plane xform4(const Plane& p_vec4);
+ Plane xform4(const Plane& p_vec4) const;
_FORCE_INLINE_ Vector3 xform(const Vector3& p_vec3) const;
operator String() const;