Skip to content

Commit

Permalink
- changed: version number to 1.09
Browse files Browse the repository at this point in the history
- cleaned: code and comments
  • Loading branch information
Jeanmilost committed Sep 21, 2023
1 parent 7bceadc commit 9670549
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SDK/CSR_Common.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
//---------------------------------------------------------------------------
// Global defines
//---------------------------------------------------------------------------
#define M_CSR_Version 1.08
#define M_CSR_Version 1.09
#define M_CSR_Error_Code 0xFFFFFFFF // yes this is a 32 bit error code, but enough for this engine
#define M_CSR_Unknown_Index -1
#define M_CSR_Epsilon 1.0E-3 // epsilon value used for tolerance
Expand Down
2 changes: 1 addition & 1 deletion SDK/CSR_Geometry.c
Original file line number Diff line number Diff line change
Expand Up @@ -2823,7 +2823,7 @@ int csrIntersect3(const CSR_Figure3* pFigure1,
const CSR_Sphere* pSphere = (CSR_Sphere*)pFirst;
const CSR_Capsule* pCapsule = (CSR_Capsule*)pSecond;

// calculate real capsule start and end points
// calculate capsule top and bottom positions from which the calculation should be applied
csrVec3Sub (&pCapsule->m_Top, &pCapsule->m_Bottom, &lineDir);
csrVec3Normalize(&lineDir, &lineDir);
csrVec3MulVal (&lineDir, pCapsule->m_Radius, &lineEndOffset);
Expand Down

0 comments on commit 9670549

Please sign in to comment.