Minor fixes to mj_multiRay

PiperOrigin-RevId: 847780959
Change-Id: I3588415f215bd5f1592bec6678a5bae45d5f0980
This commit is contained in:
Yuval Tassa
2025-12-22 08:51:33 -08:00
committed by Copybara-Service
parent a3e66cd5df
commit 7fddeeaff6
6 changed files with 19 additions and 14 deletions
+1 -1
View File
@@ -629,7 +629,7 @@ MJAPI const char* mj_versionString(void);
// Intersect multiple rays emanating from a single point.
// Similar semantics to mj_ray, but vec is an array of (nray x 3) directions.
// Nullable: geomgroup
MJAPI void mj_multiRay(const mjModel* m, mjData* d, const mjtNum pnt[3], const mjtNum vec[3],
MJAPI void mj_multiRay(const mjModel* m, mjData* d, const mjtNum pnt[3], const mjtNum* vec,
const mjtByte* geomgroup, mjtByte flg_static, int bodyexclude,
int* geomid, mjtNum* dist, int nray, mjtNum cutoff);