강의

멘토링

커뮤니티

Inflearn Community Q&A

themoon0073889's profile image
themoon0073889

asked

Game Algorithms You Must Learn by Lee Deok-woo

Implementation of a 5-learn quadtree

GetQuads가 out of area를 체크 할 수 있는건가요??

Written on

·

325

·

Edited

0

_bounds가 노드의 영역일텐데 _bound.center와의 비교는 방향을 구하기는 하지만 영역을 완전히 넘어가는지는 체크 못하지 않나 싶어서 질문드렸습니다...

unity알고리즘

Answer 1

0

ideugu님의 프로필 이미지
ideugu
Instructor

네 맞습니다. 보통 알고리즘 자체는 모든 점을 포함하는 충분히 넓은 영역을 전제로 진행됩니다.

themoon0073889's profile image
themoon0073889

asked

Ask a question