Converts a World-space 3D position to its RTC center.
Given a World-space position, this function calculates the nearest RTC center, ensuring that the position aligns with a grid defined by RTC_CELL_SIZE.
The World-space position to convert.
The resulting RTC center position.
The size of the RTC tile, which determines the grid spacing for the RTC centers.
The RTC center position.
Converts a World-space 3D position to its RTC center.
Given a World-space position, this function calculates the nearest RTC center, ensuring that the position aligns with a grid defined by RTC_CELL_SIZE.