✨ Apply clang-format
This commit is contained in:
@@ -52,7 +52,8 @@ export default class Effect {
|
||||
// Write all uniform values at the start of each animation.
|
||||
shader.connect('begin-animation', (shader, settings, forOpening, testMode) => {
|
||||
for (let i = 1; i <= 3; i++) {
|
||||
shader.set_uniform_float(shader._uColor[i - 1], 3,
|
||||
shader.set_uniform_float(
|
||||
shader._uColor[i - 1], 3,
|
||||
utils.parseColor(settings.get_string('wisps-color-' + i)));
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -145,5 +145,5 @@ export function parseColor(color) {
|
||||
}
|
||||
}
|
||||
|
||||
return [ r/255, g/255, b/255, a ];
|
||||
return [r / 255, g / 255, b / 255, a];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user