Fix cast; should be mjtGeom not mjtMouse.
PiperOrigin-RevId: 798177495 Change-Id: I5d95446dd7f7f84052b60cb378acdd856c1e4d50
This commit is contained in:
committed by
Copybara-Service
parent
ecfe65242f
commit
debbd7c916
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user