A flat array of World-space 3D positions.
The resulting flat array of RTC positions.
The computed RTC center position.
Optional
cellSize: number = RTC_CELL_SIZEThe size of each coordinate cell within the RTC system.
Returns true
if conversion to RTC was needed, otherwise false
.
Converts a flat array of World-space positions to RTC positions.
This function computes the RTC positions for an entire array of World-space coordinates. It returns both the RTC positions and the RTC center, ensuring the data is aligned with the RTC grid. If conversion is not needed, the function will return
false
.