Lines Matching refs:SpotShadow
48 #include "SpotShadow.h"
84 struct SpotShadow::VertexAngleData {
146 void SpotShadow::xsort(Vector2* points, int pointsLength) {
161 int SpotShadow::hull(Vector2* points, int pointsLength, Vector2* retPoly) {
226 bool SpotShadow::ccw(float ax, float ay, float bx, float by,
238 void SpotShadow::sort(Vector2* poly, int polyLength, const Vector2& center) {
245 void SpotShadow::swap(Vector2* points, int i, int j) {
254 void SpotShadow::quicksortCirc(Vector2* points, int low, int high,
284 bool SpotShadow::testPointInsidePolygon(const Vector2 testPoint,
310 void SpotShadow::makeClockwise(Vector2* polygon, int len) {
325 void SpotShadow::reverse(Vector2* polygon, int len) {
344 void SpotShadow::computeLightPolygon(int points, const Vector3& lightCenter,
364 float SpotShadow::projectCasterToOutline(Vector2& outline,
390 void SpotShadow::createSpotShadow(bool isCasterOpaque, const Vector3& lightCenter,
607 void SpotShadow::smoothPolygon(int level, int rays, float* rayDist) {
850 void SpotShadow::generateTriangleStrip(bool isCasterOpaque, float shadowStrengthScale,
1020 void SpotShadow::updateBound(const Vector2 inVector, Vector2& lowerBound,
1042 void SpotShadow::dumpPolygon(const Vector2* poly, int polyLength, const char* polyName) {
1051 void SpotShadow::dumpPolygon(const Vector3* poly, int polyLength, const char* polyName) {
1060 bool SpotShadow::testConvex(const Vector2* polygon, int polygonLength,
1088 void SpotShadow::testIntersection(const Vector2* poly1, int poly1Length,