aboutsummaryrefslogtreecommitdiff
path: root/core/math/camera_matrix.cpp
diff options
context:
space:
mode:
authoralexholly2017-06-04 00:25:13 +0200
committeralexholly2017-06-04 02:09:17 +0200
commita3c90b029308eb46b7fd83a0cf7b502ecbd79d55 (patch)
tree37aaaa84b53d962b441de0683a502e189cb371bb /core/math/camera_matrix.cpp
parent69bec86028f87307e549d7a2f49bbb7e2b1f3771 (diff)
downloadgodot-a3c90b029308eb46b7fd83a0cf7b502ecbd79d55.tar.gz
godot-a3c90b029308eb46b7fd83a0cf7b502ecbd79d55.tar.zst
godot-a3c90b029308eb46b7fd83a0cf7b502ecbd79d55.zip
Diffstat (limited to 'core/math/camera_matrix.cpp')
-rw-r--r--core/math/camera_matrix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/math/camera_matrix.cpp b/core/math/camera_matrix.cpp
index 5b072b7c5..c26b12b0f 100644
--- a/core/math/camera_matrix.cpp
+++ b/core/math/camera_matrix.cpp
@@ -507,8 +507,8 @@ void CameraMatrix::set_light_atlas_rect(const Rect2 &p_rect) {
m[9] = 0.0,
m[10] = 1.0,
m[11] = 0.0,
- m[12] = p_rect.pos.x,
- m[13] = p_rect.pos.y,
+ m[12] = p_rect.position.x,
+ m[13] = p_rect.position.y,
m[14] = 0.0,
m[15] = 1.0;
}