aboutsummaryrefslogtreecommitdiff
path: root/scene/3d/path.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-11 00:52:51 -0300
committerJuan Linietsky2017-01-11 00:52:51 -0300
commitbc26f905817945300d397696330d1ab04a1af33c (patch)
treed06338399c8ea410042f6631fb3db3efcc100b05 /scene/3d/path.cpp
parent710692278d1353aad08bc7bceb655afc1d6c950c (diff)
downloadgodot-bc26f905817945300d397696330d1ab04a1af33c.tar.gz
godot-bc26f905817945300d397696330d1ab04a1af33c.tar.zst
godot-bc26f905817945300d397696330d1ab04a1af33c.zip
Diffstat (limited to 'scene/3d/path.cpp')
-rw-r--r--scene/3d/path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/path.cpp b/scene/3d/path.cpp
index 98a81fc15..5e8ded386 100644
--- a/scene/3d/path.cpp
+++ b/scene/3d/path.cpp
@@ -137,7 +137,7 @@ void PathFollow::_update_transform() {
float tilt = c->interpolate_baked_tilt(o);
if (tilt!=0) {
- Matrix3 rot(-n,tilt); //remember.. lookat will be znegative.. znegative!! we abide by opengl clan.
+ Basis rot(-n,tilt); //remember.. lookat will be znegative.. znegative!! we abide by opengl clan.
up=rot.xform(up);
}
}