forked from 1b-agent/opencadstudio-upstream
Selection projected wire vertices from points (the double-single HIGH half) alone, ignoring points_low, so at UTM scale every selection test ran against coordinates ~0.5 m off — box/crossing/window edges and click hit-tests missed or grabbed the wrong entities, worsening with zoom. hit_test now reconstructs each vertex's absolute f64 from points + points_low (wp64) before projecting, across click_hit, click_hits_all, box_hit and poly_hit (lasso). Hatch hit-tests use the f64 world_origin instead of an f32-cast, and mesh hit-tests (click/box/lasso face picking) reconstruct from verts + verts_low. world_to_screen now takes the f64 point directly. Co-Authored-By: Claude Opus 4.8 <[email protected]>