Parameters
@@ -150,7 +151,7 @@
center: vec2
@@ -160,7 +161,7 @@
radius: number
@@ -178,7 +179,7 @@
Parameters
@@ -205,7 +206,7 @@
Parameters
@@ -229,7 +230,7 @@
Parameters
@@ -258,7 +259,7 @@
@@ -267,7 +268,7 @@
empty
: Circle = new Circle(vec2.fromValues(0, 0), 0)
@@ -277,7 +278,7 @@
shaderCombinationSteps: number[] = [0, 1, 2, 3, 8, 16]
@@ -287,7 +288,7 @@
uniformCountMacroName: string = "CIRCLE_COUNT"
@@ -297,7 +298,7 @@
propertyUniformMapping: object
@@ -306,7 +307,7 @@
center: string = "circleCenters"
@@ -316,7 +317,7 @@
radius: string = "circleRadii"
@@ -327,7 +328,7 @@
sdf: object
@@ -336,7 +337,7 @@
distanceFunctionName: string = "circleMinDistance"
@@ -346,7 +347,7 @@
shader: string = `uniform vec2 circleCenters[CIRCLE_COUNT];uniform float circleRadii[CIRCLE_COUNT];float circleMinDistance(vec2 target, out float colorIndex) {colorIndex = 2.0;float minDistance = 1000.0;for (int i = 0; i < CIRCLE_COUNT; i++) {float dist = distance(circleCenters[i], target) - circleRadii[i];minDistance = min(minDistance, dist);}return minDistance;}`
diff --git a/docs/classes/circlelight.html b/docs/classes/circlelight.html
index d0640ae..9cece68 100644
--- a/docs/classes/circlelight.html
+++ b/docs/classes/circlelight.html
@@ -7,6 +7,7 @@
+
@@ -129,7 +130,7 @@
Parameters
@@ -158,7 +159,7 @@
@@ -169,7 +170,7 @@
@@ -180,7 +181,7 @@
@@ -191,7 +192,7 @@
@@ -210,7 +211,7 @@
Inherited from LightDrawable.getObjectToSerialize
Overrides Drawable.getObjectToSerialize
Parameters
@@ -238,7 +239,7 @@
Inherited from Flashlight.minDistance
Overrides Drawable.minDistance
Parameters
@@ -262,7 +263,7 @@
Parameters
@@ -292,7 +293,7 @@
Parameters
@@ -315,7 +316,7 @@
@@ -324,7 +325,7 @@
empty
: CircleLight = new CircleLight(vec2.fromValues(0, 0), vec3.fromValues(0, 0, 0), 0)
@@ -334,7 +335,7 @@
shaderCombinationSteps: number[] = [0, 1, 2, 4, 8, 16]
@@ -344,7 +345,7 @@
uniformCountMacroName: string = "CIRCLE_LIGHT_COUNT"
@@ -354,7 +355,7 @@
propertyUniformMapping: object
@@ -363,7 +364,7 @@
center: string = "circleLightCenters"
@@ -373,7 +374,7 @@
color: string = "circleLightColors"
@@ -383,7 +384,7 @@
intensity: string = "circleLightIntensities"
diff --git a/docs/classes/drawable.html b/docs/classes/drawable.html
index c762b48..b926d4a 100644
--- a/docs/classes/drawable.html
+++ b/docs/classes/drawable.html
@@ -7,6 +7,7 @@
+
Parameters
diff --git a/docs/classes/flashlight.html b/docs/classes/flashlight.html index 85da6d9..88f4c3d 100644 --- a/docs/classes/flashlight.html +++ b/docs/classes/flashlight.html @@ -7,6 +7,7 @@ +Parameters
@@ -162,7 +163,7 @@ @@ -173,7 +174,7 @@ @@ -183,7 +184,7 @@Parameters
@@ -251,7 +252,7 @@Inherited from Flashlight.minDistance
Overrides Drawable.minDistance
-- Defined in drawables/lights/light-drawable.ts:16
+ - Defined in drawables/lights/light-drawable.ts:16
Parameters
@@ -275,7 +276,7 @@Parameters
@@ -305,7 +306,7 @@Parameters
@@ -328,7 +329,7 @@Parameters
@@ -158,7 +159,7 @@Parameters
@@ -233,7 +234,7 @@Parameters
@@ -257,7 +258,7 @@Parameters
@@ -286,7 +287,7 @@Parameters
@@ -158,7 +159,7 @@Parameters
@@ -233,7 +234,7 @@Parameters
@@ -257,7 +258,7 @@Parameters
@@ -286,7 +287,7 @@