The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

u/hand_tracking: Tidy header

+18 -7
+18 -7
src/xrt/auxiliary/util/u_hand_tracking.h
··· 12 12 #include "xrt/xrt_defines.h" 13 13 #include "util/u_misc.h" 14 14 15 + 15 16 #ifdef __cplusplus 16 17 extern "C" { 17 18 #endif ··· 97 98 struct u_hand_joint_default_set joints; 98 99 }; 99 100 101 + /*! 102 + * @ingroup aux_util 103 + */ 100 104 bool 101 105 u_hand_joint_is_tip(enum xrt_hand_joint joint); 102 106 107 + /*! 108 + * @ingroup aux_util 109 + */ 103 110 bool 104 111 u_hand_joint_is_metacarpal(enum xrt_hand_joint joint); 105 112 106 - 107 113 /*! 108 114 * Initializes a hand tracking set with default data. 109 115 * ··· 130 136 union xrt_hand_joint_set *out_value); 131 137 132 138 133 - 134 139 /* 135 140 * 136 141 * Curl model specific functions 137 142 * 138 143 */ 139 144 145 + /*! 146 + * @ingroup aux_util 147 + */ 140 148 void 141 149 u_hand_joint_compute_next_by_curl(struct u_hand_tracking *set, 142 150 struct u_joint_space_relation *prev, ··· 144 152 struct u_joint_space_relation *out_joint, 145 153 float curl_value); 146 154 155 + /*! 156 + * @ingroup aux_util 157 + */ 147 158 void 148 159 u_hand_joints_update_curl(struct u_hand_tracking *set, 149 160 enum xrt_hand hand, 150 161 struct u_hand_tracking_curl_values *curl_values); 151 162 152 - // simple helper function for positioning hands on Valve Index controllers 163 + /*! 164 + * Simple helper function for positioning hands on Valve Index controllers. 165 + * 166 + * @ingroup aux_util 167 + */ 153 168 void 154 169 u_hand_joints_offset_valve_index_controller(enum xrt_hand hand, 155 170 struct xrt_vec3 *static_offset, 156 171 struct xrt_pose *offset); 157 - 158 - /*! 159 - * @} 160 - */ 161 172 162 173 163 174 #ifdef __cplusplus