[refactor/MAT-899] DrawingCanvas Eraser AABB 2단계 히트테스트#350
Draft
b0nsu wants to merge 1 commit into
Draft
Conversation
- aabbIntersectsCircle 헬퍼 추가 (지우개 원의 enclosing box vs stroke AABB) - eraseAtPoint 에서 stroke.bounds 1차 필터 → 통과한 stroke 만 점-체크 - index.ts 에 aabbIntersectsCircle export 200 strokes 시나리오에서 점-체크 ~95% 스킵 기대(~20× 가속). bounds 는 MAT-898 에서 항상 채워지므로 외부 stroke 도 안전. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
지우개 히트 테스트를 stroke AABB 1차 필터 + 점-체크 2단계로 분리.
Linear
Changes
Testing
Risk / Impact
Dependency
MAT-898 위에 stacked (base: `refactor/mat-898-stroke-bounds`). PR #348 머지 후 base 자동 develop 으로 변경.