fuckingtech/public/assets/glsl/lygia/sdf/opRound.glsl
Elias Rhouzlane bf76c6b086 fix: code
2025-04-06 17:23:52 +02:00

15 lines
221 B
GLSL

/*
contributors: Inigo Quiles
description: round SDFs
use: <float> opRound( in <float> d, <float> h )
*/
#ifndef FNC_OPROUND
#define FNC_OPROUND
float opRound( in float d, in float h ) {
return d - h;
}
#endif