Closed jbritain closed 1 month ago
Thanks for the feedback! I'll put something to that end in the next revision.
I'm thinking of going even a little more general, and letting you pass in a lambda. That would allow you to use whatever naming conventions you want, whether it's is_flag
, Flag
, etc.
Fixed as of the release of alpha v0.0.4!
When the mapping glsl file is generated, it contains a load of functions with names directly equivalent to the names given. This means that if I have a mapping for 'water', I get a function
water
. If I already have a function calledwater
, this is a conflict, so I need to rename one of them. What I propose is an optional and customisable prefix, such that 'water' could be generated asipbr_is_water
, for example, with the prefix beingipbr_is_
.