Cleanup the 3 path/point structs

This commit is contained in:
LagoLunatic
2025-03-28 20:31:04 -04:00
parent 8cfd2f7a1e
commit b72d243f9b
16 changed files with 117 additions and 115 deletions
+2 -2
View File
@@ -206,8 +206,8 @@ void dLib_pathMove(cXyz* pos, s8* pPntNo, dPath* pPath, f32 speed, int (*pCallBa
} else {
pnt_next_no = 0;
}
cXyz pnt_pos = pPath->mpPnt[pnt_no].mPos;
cXyz pnt_next_pos = pPath->mpPnt[pnt_next_no].mPos;
cXyz pnt_pos = pPath->m_points[pnt_no].m_position;
cXyz pnt_next_pos = pPath->m_points[pnt_next_no].m_position;
cXyz move = (pnt_next_pos - pnt_pos).normZP();
if (pCallBack == NULL) {