i didn't touch these files, but they were changed ... maybe by clangformat ?
This commit is contained in:
+1
-1
@@ -207,4 +207,4 @@ export var Shader = GObject.registerClass({
|
|||||||
// Add a trailing newline. Else the GLSL compiler complains...
|
// Add a trailing newline. Else the GLSL compiler complains...
|
||||||
return common + '\n' + code + '\n';
|
return common + '\n' + code + '\n';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -91,4 +91,4 @@ export default class ShaderFactory {
|
|||||||
|
|
||||||
return shader;
|
return shader;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+1
-18
@@ -172,21 +172,4 @@ export function parseColor(string) {
|
|||||||
|
|
||||||
|
|
||||||
return [color.red / 255, color.green / 255, color.blue / 255, color.alpha / 255];
|
return [color.red / 255, color.green / 255, color.blue / 255, color.alpha / 255];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// used for searching
|
|
||||||
// Simple fuzzy match function
|
|
||||||
// NOTE: i'll improve the fuzzy function before rolling this out
|
|
||||||
/*
|
|
||||||
function fuzzyMatch(text, query) {
|
|
||||||
let queryIndex = 0;
|
|
||||||
for (let i = 0; i < text.length && queryIndex < query.length; i++) {
|
|
||||||
if (text[i] === query[queryIndex]) {
|
|
||||||
queryIndex++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return queryIndex === query.length; // Returns true if all chars in query matched in
|
|
||||||
order
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
Reference in New Issue
Block a user