kovasb / gamma

glsl shaders made simple
Eclipse Public License 1.0
306 stars 20 forks source link

Add round() support #20

Open sgrove opened 9 years ago

sgrove commented 9 years ago

Not sure how you feel about this one, since it's not in the spec, but perhaps extremely common, base functions like this should be put in place to encourage higher-level library interop/reuse, rather than everyone implementing their own floor(a + 0.5) function?