* Uses const where possible * Joins declaration with assignment * Use std::array where possible instead of C-style array * Use float3 instead of C-style array for position and normal * Reduces scope of variables where possible Pull Request: https://projects.blender.org/blender/blender/pulls/135336