Pigment/shaderlib/common.gdshaderinc

6 lines
83 B
Text
Raw Permalink Normal View History

2025-10-10 22:05:07 +02:00
// inefficient cuberoot function
float cbrt(float x) {
return pow(x, 1.0/3.0);
}