[update] Allowed the standalone version of sjplayer
to load a script file.
This commit is contained in:
@@ -152,7 +152,7 @@ class CircleElementProgram {
|
||||
float r = length(uv_);
|
||||
float w = 1 - weight_;
|
||||
return
|
||||
smoothstep(w, w+smooth_, r) *
|
||||
smoothstep(w-smooth_, w, r) *
|
||||
(1 - smoothstep(1-smooth_, 1, r));
|
||||
}
|
||||
|
||||
|
@@ -28,9 +28,9 @@ class CircleElementScheduledController :
|
||||
element_.alive = true;
|
||||
element_.damage = 0;
|
||||
element_.nearness_coe = 0;
|
||||
element_.matrix = mat3.identity;
|
||||
element_.matrix = mat3.identity.transposed;
|
||||
element_.weight = 1;
|
||||
element_.smooth = 0;
|
||||
element_.smooth = 0.01;
|
||||
element_.color = vec4(1, 1, 1, 1);
|
||||
}
|
||||
override void FinalizeOperation(ref in ParametersBlock params) {
|
||||
|
Reference in New Issue
Block a user