···392392};
393393394394/*!
395395+ * Image rectangle
396396+ *
397397+ * @todo Unify xrt_rect and xrt_rect_f32 field names
398398+ *
399399+ * @ingroup xrt_iface math
400400+ */
401401+struct xrt_rect_f32
402402+{
403403+ float x, y, w, h;
404404+};
405405+406406+/*!
395407 * Normalized image rectangle, coordinates and size in 0 .. 1 range.
396408 *
397409 * @ingroup xrt_iface math
+2-2
src/xrt/include/xrt/xrt_tracking.h
···149149 bool enabled; //!< Whether any hand mask for this camera is being reported
150150 struct xrt_hand_masks_sample_hand
151151 {
152152- bool enabled; //!< Whether a mask for this hand is being reported
153153- struct xrt_rect rect; //!< The mask itself in pixel coordinates
152152+ bool enabled; //!< Whether a mask for this hand is being reported
153153+ struct xrt_rect_f32 rect; //!< The mask itself in pixel coordinates
154154 } hands[2];
155155 } views[XRT_TRACKING_MAX_SLAM_CAMS];
156156};