summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2019-12-13 15:23:26 -0500
committerAaron Franke <arnfranke@yahoo.com>2019-12-15 12:31:08 -0500
commit1b8b380993bf9ee253a72b6da7d7d7cc55868976 (patch)
tree374b8530cb57fa941d0e7af0caa91e43b9c08247 /core
parentd8d96c9fa78395db8cf8eca65439ee1dfe18a424 (diff)
downloadredot-engine-1b8b380993bf9ee253a72b6da7d7d7cc55868976.tar.gz
Document that translated does not behave like rotated or scaled
Diffstat (limited to 'core')
-rw-r--r--core/variant_call.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant_call.cpp b/core/variant_call.cpp
index f6ecc506a4..8aae2d8490 100644
--- a/core/variant_call.cpp
+++ b/core/variant_call.cpp
@@ -1950,7 +1950,7 @@ void register_variant_methods() {
ADDFUNC0R(TRANSFORM, TRANSFORM, Transform, orthonormalized, varray());
ADDFUNC2R(TRANSFORM, TRANSFORM, Transform, rotated, VECTOR3, "axis", REAL, "phi", varray());
ADDFUNC1R(TRANSFORM, TRANSFORM, Transform, scaled, VECTOR3, "scale", varray());
- ADDFUNC1R(TRANSFORM, TRANSFORM, Transform, translated, VECTOR3, "ofs", varray());
+ ADDFUNC1R(TRANSFORM, TRANSFORM, Transform, translated, VECTOR3, "offset", varray());
ADDFUNC2R(TRANSFORM, TRANSFORM, Transform, looking_at, VECTOR3, "target", VECTOR3, "up", varray());
ADDFUNC2R(TRANSFORM, TRANSFORM, Transform, interpolate_with, TRANSFORM, "transform", REAL, "weight", varray());
ADDFUNC1R(TRANSFORM, BOOL, Transform, is_equal_approx, TRANSFORM, "transform", varray());