refactor: split frag0 into multiple files

This commit is contained in:
2025-11-08 22:35:10 +01:00
parent b4b79cea12
commit 248c947fad
31 changed files with 2041 additions and 1875 deletions
+14
View File
@@ -0,0 +1,14 @@
#ifndef INC_RAND
#define INC_RAND
float rand(float seed){
float v=pow(abs(seed),6./7.);
v*=sin(v)+1.;
return fract(v);
}
float rand(vec2 n){
return rand(n.x * 1234 + n.y * 9876);
}
#endif