Fix off by one in segmentation with IDCOLOR documentation
This commit is contained in:
@@ -873,7 +873,7 @@ mjtRndFlag
|
||||
mjRND_FOG, // fog
|
||||
mjRND_HAZE, // haze
|
||||
mjRND_SEGMENT, // segmentation with random color
|
||||
mjRND_IDCOLOR, // segmentation with segid color
|
||||
mjRND_IDCOLOR, // segmentation with segid+1 color
|
||||
|
||||
mjNRNDFLAG // number of rendering flags
|
||||
} mjtRndFlag;
|
||||
|
||||
@@ -133,7 +133,7 @@ typedef enum mjtRndFlag_ { // flags enabling rendering effects
|
||||
mjRND_FOG, // fog
|
||||
mjRND_HAZE, // haze
|
||||
mjRND_SEGMENT, // segmentation with random color
|
||||
mjRND_IDCOLOR, // segmentation with segid color
|
||||
mjRND_IDCOLOR, // segmentation with segid+1 color
|
||||
|
||||
mjNRNDFLAG // number of rendering flags
|
||||
} mjtRndFlag;
|
||||
|
||||
Reference in New Issue
Block a user