- Change variable names for consistency - Split common code to function - Create simple struct with curly brackets - Avoid random access to IndexMask - Remove obvious comments - Use const references for float3
- Change variable names for consistency - Split common code to function - Create simple struct with curly brackets - Avoid random access to IndexMask - Remove obvious comments - Use const references for float3