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

15 lines
212 B
Text

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