Skip to content

Commit 8fd7cac

Browse files
committed
Fix typos
1 parent 564093c commit 8fd7cac

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

source/pbat/geometry/OverlapQueries.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ PBAT_HOST_DEVICE bool PointTetrahedron3D(
9393
* @brief Tests for overlap between sphere (C1,R1) and sphere (C2,R2).
9494
* @tparam TMatrixC1 Center matrix type of the first sphere
9595
* @tparam TMatrixC2 Center matrix type of the second sphere
96-
* @param c1 Center of the first sphere
97-
* @param r1 Radius of the first sphere
98-
* @param c2 Center of the second sphere
99-
* @param r2 Radius of the second sphere
96+
* @param C1 Center of the first sphere
97+
* @param R1 Radius of the first sphere
98+
* @param C2 Center of the second sphere
99+
* @param R2 Radius of the second sphere
100100
* @return True if the spheres overlap, false otherwise
101101
*/
102102
template <mini::CMatrix TMatrixC1, mini::CMatrix TMatrixC2>
@@ -478,16 +478,16 @@ PBAT_HOST_DEVICE bool Tetrahedra(
478478
TMatrixD2 const& D2);
479479

480480
/**
481-
* @brief Tests for overlap between a triangle ABC and a sphere with center c of radius R
481+
* @brief Tests for overlap between a triangle ABC and a sphere with center SC of radius R
482482
* @tparam TMatrixA Vertex A matrix type
483483
* @tparam TMatrixB Vertex B matrix type
484484
* @tparam TMatrixC Vertex C matrix type
485485
* @tparam TMatrixSC Center matrix type of the sphere
486486
* @param A Vertex A of the triangle
487487
* @param B Vertex B of the triangle
488488
* @param C Vertex C of the triangle
489-
* @param c Center of the sphere
490-
* @param r Radius of the sphere
489+
* @param SC Center of the sphere
490+
* @param R Radius of the sphere
491491
* @return True if the triangle and sphere overlap, false otherwise
492492
*/
493493
template <
@@ -503,7 +503,7 @@ PBAT_HOST_DEVICE bool TriangleSphere(
503503
typename TMatrixSC::ScalarType R);
504504

505505
/**
506-
* @brief Tests for overlap between a tetrahedron ABCD and a sphere with center c of radius R
506+
* @brief Tests for overlap between a tetrahedron ABCD and a sphere with center SC of radius R
507507
* @tparam TMatrixA Vertex A matrix type
508508
* @tparam TMatrixB Vertex B matrix type
509509
* @tparam TMatrixC Vertex C matrix type
@@ -513,8 +513,8 @@ PBAT_HOST_DEVICE bool TriangleSphere(
513513
* @param B Vertex B of the tetrahedron
514514
* @param C Vertex C of the tetrahedron
515515
* @param D Vertex D of the tetrahedron
516-
* @param c Center of the sphere
517-
* @param r Radius of the sphere
516+
* @param SC Center of the sphere
517+
* @param R Radius of the sphere
518518
* @return True if the tetrahedron and sphere overlap, false otherwise
519519
*/
520520
template <

0 commit comments

Comments
 (0)