summaryrefslogtreecommitdiff
path: root/core/math
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-10-31 15:17:19 +0100
committerGitHub <noreply@github.com>2019-10-31 15:17:19 +0100
commit23a381d8827dbcb2d295fa393a5400f7a7e0a1c1 (patch)
tree181570b8580d7f5dc9d31d3911b1b845af200b5e /core/math
parent55fd63d9de05afd311c981df52bd50262aace9b5 (diff)
parent8754e21f48a5db53f905898dbccfc4bc6eb10f9a (diff)
Merge pull request #33203 from aaronfranke/seperation-typo
Fix "seperate" typos
Diffstat (limited to 'core/math')
-rw-r--r--core/math/math_funcs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h
index 9078abea68..a94b27fcc5 100644
--- a/core/math/math_funcs.h
+++ b/core/math/math_funcs.h
@@ -472,7 +472,7 @@ public:
return p_step != 0 ? Math::stepify(p_target - p_offset, p_step) + p_offset : p_target;
}
- static _ALWAYS_INLINE_ float snap_scalar_seperation(float p_offset, float p_step, float p_target, float p_separation) {
+ static _ALWAYS_INLINE_ float snap_scalar_separation(float p_offset, float p_step, float p_target, float p_separation) {
if (p_step != 0) {
float a = Math::stepify(p_target - p_offset, p_step + p_separation) + p_offset;
float b = a;