COMP4300 - Game Programming - Lecture 12 - Ray Casting + Line Segment Intersections + Vision
Dave Churchill · 0:00 · Watch on YouTube
Ray casting in 2D reduces to one primitive, a line-segment intersection test built on parametric vectors and the 2D cross product. That test gives line of sight (NPC vision, bullets) and, by casting rays at scene vert...