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

15 lines
225 B
HLSL

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