Package de.chaffic.rays

Types

Link copied to clipboard
class Ray(startPoint: Vec2, direction: Vec2, distance: Double)

Ray class to define and project rays in a world.

Link copied to clipboard
class RayAngleInformation(ray: Ray, angle: Double)

Ray information class to store relevant data about rays and any intersection found specific to shadow casting.

Link copied to clipboard
class RayInformation

Ray information class to store relevant data about rays and any intersection found.

Link copied to clipboard
class ShadowCasting(startPoint: Vec2, distance: Double)

A class for generating polygons that can mimic line of sight around objects and cast shadows.

Link copied to clipboard
class Slice(startPoint: Vec2, direction: Vec2, distance: Double)

Class to allow two polygons to be sliced.