u/hand: Constify arguments

This commit is contained in:
Jakob Bornecrantz 2022-08-14 16:14:54 +01:00
parent dc28c1f04a
commit 2b05bfc709
2 changed files with 4 additions and 4 deletions

View file

@ -390,9 +390,9 @@ u_hand_sim_simulate(struct u_hand_sim_hand *hand_ptr, struct xrt_hand_joint_set
} }
void void
u_hand_sim_simulate_for_valve_index_knuckles(struct u_hand_tracking_curl_values *values, u_hand_sim_simulate_for_valve_index_knuckles(const struct u_hand_tracking_curl_values *values,
bool is_right, bool is_right,
struct xrt_space_relation *root_pose, const struct xrt_space_relation *root_pose,
struct xrt_hand_joint_set *out_set) struct xrt_hand_joint_set *out_set)
{ {
struct u_hand_sim_hand hand; struct u_hand_sim_hand hand;

View file

@ -70,9 +70,9 @@ void
u_hand_sim_simulate(struct u_hand_sim_hand *hand, struct xrt_hand_joint_set *out_set); u_hand_sim_simulate(struct u_hand_sim_hand *hand, struct xrt_hand_joint_set *out_set);
void void
u_hand_sim_simulate_for_valve_index_knuckles(struct u_hand_tracking_curl_values *values, u_hand_sim_simulate_for_valve_index_knuckles(const struct u_hand_tracking_curl_values *values,
bool is_right, bool is_right,
struct xrt_space_relation *root_pose, const struct xrt_space_relation *root_pose,
struct xrt_hand_joint_set *out_set); struct xrt_hand_joint_set *out_set);
void void