Options to be applied to the opaque object.
The intensity of the light penetration in objects.
0.8
Fill ctx with the shadows projected by the opaque object at the origin point, constrained by the given bounds.
The canvas context onto which the shadows will be cast.
A vector that represents the origin for the casted shadows.
An anonymous object with the properties topLeft
and bottomRight
.
The property values are Vec2
objects representing the corners of the boundary.
Determine if the given point is inside the polygon.
The point to be checked.
true
if the polygon object contains the given point.
An opaque object.