created ShadeMyCanvas (smc)

This commit is contained in:
do butterflies cry? 2026-02-02 01:12:53 +10:00
parent 935cc44f66
commit 1d06470ccd
12 changed files with 539 additions and 24 deletions

10
www/js/smc/errors.js Normal file
View file

@ -0,0 +1,10 @@
export { SmcErr };
const SmcErr = {
UNSUPPORTED: 0, // unused
SHADER_COMPILATION: 1,
PROGRAM_INIT: 2,
ATTRIBUTE_MISSING: 3,
UNIFORM_MISSING: 4,
FETCH_SHADER: 5,
}