Skip to content

Commit debbd7c

Browse files
haroonqcopybara-github
authored andcommitted
Fix cast; should be mjtGeom not mjtMouse.
PiperOrigin-RevId: 798177495 Change-Id: I5d95446dd7f7f84052b60cb378acdd856c1e4d50
1 parent ecfe652 commit debbd7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/engine_vis_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ float mjv_rbound(const mjvGeom* geom) {
463463

464464
// compute rbound according to type
465465
const float* s = geom->size;
466-
switch ((mjtMouse) geom->type) {
466+
switch ((mjtGeom) geom->type) {
467467
case mjGEOM_SPHERE:
468468
return s[0];
469469

0 commit comments

Comments
 (0)