intersection1 84_Intersection (수학) 여러 도형끼리 포개질 때 탐지해 내기 위해서 Intersection 이란 걸 하게 되는데 여러 타입에 대해 알아본다. Sphere to sphere Sphere to AABB Sphere to OBB Sphere to plane AABB to AABB AABB to OBB AABB to plane OBB to OBB OBB to plane plane to plane 물리 엔진을 직접 구현한다면 중요한 내용이다. MathUtils클래스에 이어서 코드를 넣어준다. Sparating axis theorem을 검색해서 친절하게 분석한 글을 읽어본다. 1. MathUtils.h에 Intersection 관련 코드 추가하기 Primitive3D.h에 가서 struct Interval3D { float min; fl.. DirectX 2024. 3. 31. 이전 1 다음