Open K4stor opened 8 years ago
Hi,
I am using these macros
#define Blend(base, blend, funcf) vec3(funcf(base.r, blend.r), funcf(base.g, blend.g), funcf(base.b, blend.b)) #define BlendOverlayf(base, blend) (base < 0.5 ? (2.0 * base * blend) : (1.0 - 2.0 * (1.0 - base) * (1.0 - blend))) #define BlendOverlay(base, blend) Blend(base, blend, BlendOverlayf)
and the linter gives me an error saying macro expension expected '(' following BlendOverlayf`
macro expension
it doesn't get that BlendOverlayf ist a function.
BlendOverlayf
function
Hi,
I am using these macros
and the linter gives me an error saying
macro expension
expected '(' following BlendOverlayf`it doesn't get that
BlendOverlayf
ist afunction
.