- Use `float3` C++ vector instead of pointers - Return directly instead of using temporary boolean variable - Use separate loops for "original positions" case to simplify hot loops
- Use `float3` C++ vector instead of pointers - Return directly instead of using temporary boolean variable - Use separate loops for "original positions" case to simplify hot loops