0a590aadf5655175f73af5b59e61acfb0fe0b144

This uses the weighted average of polygon centroids based on area It work well in most cases but will be slightly wrong when polygons have many vertices.
style cleanup: make OSL follow our C style convention. http://wiki.blender.org/index.php/Dev:Doc/CodeStyle
…
Description
No description provided
Languages
C++
78.1%
Python
15%
C
2.8%
GLSL
1.8%
CMake
1.2%
Other
0.9%