Fix cast; should be mjtGeom not mjtMouse.

PiperOrigin-RevId: 798177495
Change-Id: I5d95446dd7f7f84052b60cb378acdd856c1e4d50
This commit is contained in:
Haroon Qureshi
2025-08-22 05:46:52 -07:00
committed by Copybara-Service
parent ecfe65242f
commit debbd7c916
+1 -1
View File
@@ -463,7 +463,7 @@ float mjv_rbound(const mjvGeom* geom) {
// compute rbound according to type
const float* s = geom->size;
switch ((mjtMouse) geom->type) {
switch ((mjtGeom) geom->type) {
case mjGEOM_SPHERE:
return s[0];