diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-10-31 15:17:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-31 15:17:19 +0100 |
commit | 23a381d8827dbcb2d295fa393a5400f7a7e0a1c1 (patch) | |
tree | 181570b8580d7f5dc9d31d3911b1b845af200b5e /core/math/math_funcs.h | |
parent | 55fd63d9de05afd311c981df52bd50262aace9b5 (diff) | |
parent | 8754e21f48a5db53f905898dbccfc4bc6eb10f9a (diff) |
Merge pull request #33203 from aaronfranke/seperation-typo
Fix "seperate" typos
Diffstat (limited to 'core/math/math_funcs.h')
-rw-r--r-- | core/math/math_funcs.h | 2 |
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; |