blog
Tag Archive for RayMath at Jozef Chúťka's blog
December 16, 2009
DisplayObject Graphics hitTestPoint RayMath
RayMath class

While working on newest project I created a simple util class that simulates rays of spot light. It uses DisplayObject hitTestPoint() method to test for ray stream collisions so it does not go beyond the obstacles (corners etc.). Feel free to use RayMath class as you wish