index 6ed6a10d00d33b16008a2dc22f737299e91e1b9d..012ea5c77847b4dbe7057ba09919e983e7188238 100755 (executable)
def formatColor3f(r,g,b):
"""3 floats to #rrggbb"""
return '#%02x%02x%02x' % (int(round(r*255)),int(round(g*255)),int(round(b*255)))
+
+
+# vim: expandtab shiftwidth=4 tabstop=8 softtabstop=4 encoding=utf-8 textwidth=99