diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-07-25 12:38:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-25 12:38:58 +0200 |
commit | 2f221e5fd507b176590bda52d08e499629ce7761 (patch) | |
tree | c24961857c5e7ccacc3291d22c1e4dabcee3c12b /core/math | |
parent | a0f7f42b842462646281f5c4c9a8db070e034adc (diff) | |
parent | 3564c16cb851e2c5ae9f75d928e2f501ce5e3d6a (diff) |
Merge pull request #50250 from luzpaz/typos
Fix various typos
Diffstat (limited to 'core/math')
-rw-r--r-- | core/math/face3.h | 4 | ||||
-rw-r--r-- | core/math/geometry_3d.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/math/face3.h b/core/math/face3.h index 5091b338ef..9e9026e54e 100644 --- a/core/math/face3.h +++ b/core/math/face3.h @@ -50,8 +50,8 @@ public: /** * * @param p_plane plane used to split the face - * @param p_res array of at least 3 faces, amount used in functio return - * @param p_is_point_over array of at least 3 booleans, determining which face is over the plane, amount used in functio return + * @param p_res array of at least 3 faces, amount used in function return + * @param p_is_point_over array of at least 3 booleans, determining which face is over the plane, amount used in function return * @param _epsilon constant used for numerical error rounding, to add "thickness" to the plane (so coplanar points can happen) * @return amount of faces generated by the split, either 0 (means no split possible), 2 or 3 */ diff --git a/core/math/geometry_3d.h b/core/math/geometry_3d.h index 4ef9b4dbe6..766689e222 100644 --- a/core/math/geometry_3d.h +++ b/core/math/geometry_3d.h @@ -40,7 +40,7 @@ class Geometry3D { public: static void get_closest_points_between_segments(const Vector3 &p1, const Vector3 &p2, const Vector3 &q1, const Vector3 &q2, Vector3 &c1, Vector3 &c2) { -// Do the function 'd' as defined by pb. I think is is dot product of some sort. +// Do the function 'd' as defined by pb. I think it's a dot product of some sort. #define d_of(m, n, o, p) ((m.x - n.x) * (o.x - p.x) + (m.y - n.y) * (o.y - p.y) + (m.z - n.z) * (o.z - p.z)) // Calculate the parametric position on the 2 curves, mua and mub. |