Robert Śmietana
unread,Mar 25, 2013, 6:30:50 AM3/25/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haxe...@googlegroups.com
I do not claim it is an error, but there is something very annoying in Haxe 3. Std.string() method, invoked with rounded Float value, returns Int string (without ".0" on the end). '$variable' behaves in the same way.
I needed to write my own method, because I generate ESSL sourcecode from Haxe program and ESSL (and GLSL) make a distinction between float and int constants.