This repository was archived by the owner on Mar 19, 2026. It is now read-only.
v0.10 衝突検出#80
Merged
Merged
Conversation
BVHのSAHヒューリスティックに必要なSurfaceAreaプロパティと、 物理ドメインのResult<T>用エラーコードを追加。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tagged union方式のCollider (Sphere/Box/Capsule)、 GJKサポート関数、GJK衝突判定+EPA貫通情報抽出を実装。 全てunmanaged structでフレームループ0-allocation制約を遵守。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
SAHベースBVH (IntroSortでO(n log n)保証) と OverlapSphere用のグリッドベース空間ハッシュを実装。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
BVHベースのRay/Sphere交差テストと、 SpatialHashGridベースのOverlapSphereクエリを実装。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
BroadPhaseSystem (BVH構築+ペア抽出) と NarrowPhaseSystem (GJK+EPA実行) をPhysicsフェーズに追加。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
GJK+EPA、BVH、SpatialHashGrid、レイキャスト、 ECSシステム統合の単体テストを網羅的に追加。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
全てunmanaged struct、フレームループ0-allocation制約遵守。
エラーハンドリングはResultパターン。
新規: 20ソースファイル + 15テストファイル (72テスト)
変更: AABB.cs (SurfaceArea追加), ErrorCode.cs (Physics ErrorCodes追加)
Test plan
🤖 Generated with Claude Code