1
0
forked from HQU-gxy/CVTH3PE
Files
CVTH3PE/playground.py
crosstyan 9639bcb794 refactor: Update type hints and streamline distance calculations in playground.py
- Changed the return type of `perpendicular_distance_point_to_line_two_points` to `jnp.floating[Any]` for improved type accuracy.
- Refactored the `perpendicular_distance_camera_2d_points_to_tracking_raycasting` function to store distances in a typed variable, enhancing clarity and type safety.
- Improved the overall readability of the distance calculation logic by returning the computed distances directly.
2025-04-27 18:00:56 +08:00

26 KiB