Hand ray starts out a little further from the hand now.
@@ -391,11 +391,11 @@ void ui_update() {
if (skui_hand[i].ray_visibility > 0.004f) {
ray_t r = input_get_pointer(input_hand_pointer_id[i])->ray;
line_point_t points[5] = {
- line_point_t{r.pos+r.dir*0.01f, 0.001f, color32{255,255,255,0}},
- line_point_t{r.pos+r.dir*0.02f, 0.0015f, color32{255,255,255,(uint8_t)(skui_hand[i].ray_visibility * 60 )}},
- line_point_t{r.pos+r.dir*0.03f, 0.0020f, color32{255,255,255,(uint8_t)(skui_hand[i].ray_visibility * 80)}},
- line_point_t{r.pos+r.dir*0.08f, 0.0015f, color32{255,255,255,(uint8_t)(skui_hand[i].ray_visibility * 25 )}},
- line_point_t{r.pos+r.dir*0.12f, 0.001f, color32{255,255,255,0}} };
+ line_point_t{r.pos+r.dir*0.07f, 0.001f, color32{255,255,255,0}},
+ line_point_t{r.pos+r.dir*0.08f, 0.0015f, color32{255,255,255,(uint8_t)(skui_hand[i].ray_visibility * 60 )}},
+ line_point_t{r.pos+r.dir*0.09f, 0.0020f, color32{255,255,255,(uint8_t)(skui_hand[i].ray_visibility * 80)}},
+ line_point_t{r.pos+r.dir*0.14f, 0.0015f, color32{255,255,255,(uint8_t)(skui_hand[i].ray_visibility * 25 )}},
+ line_point_t{r.pos+r.dir*0.18f, 0.001f, color32{255,255,255,0}} };
line_add_listv(points, 5);
}
skui_hand[i].ray_discard = false;
