Geometry helper module for orbital mechanics and spatial calculations #130
Labels
No Label
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
priority:tier1-active
priority:tier2-foundation
priority:tier3-future
Refactoring & Cleanup
system:animation
system:documentation
system:grid
system:input
system:performance
system:python-binding
system:rendering
system:ui-hierarchy
Tiny Feature
workflow:blocked
workflow:needs-benchmark
workflow:needs-documentation
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: john/McRogueFace#130
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feature Request
Add a geometry helper module to simplify common spatial calculations like orbital mechanics, line intersections, angle calculations, and distance measurements.
Use Case: PINSHIPS Game
The PINSHIPS space roguelike requires complex spatial calculations:
Current Workaround
Pure Python math:
This is totally acceptable! Pure Python math works fine for game logic.
When C++ Helpers Are Useful
C++ geometry helpers become valuable when:
mcrfpy.Vectorbecomes a core type, geometry helpers naturally extend itProposed API
Implementation Options
Option A: Pure Python Module (RECOMMENDED)
build/scripts/mcrfpy/geometry.pyOption B: C++ Extension Module
src/Geometry.cppwith helper functionsMcRFPy_API.cppOption C: Hybrid Approach
Priority
Tier 2 Foundation - Nice to have, but pure Python is acceptable
Start with Option A - Create Python module first, profile later
Benefits
arc_points(...)vs manual trigRelated Issues
Implementation Steps
build/scripts/mcrfpy/geometry.pywith pure Python implementationsLabels
[Minor Feature][priority:tier2-foundation][system:python-binding]