hammersley4D
Computes a 4D Hammersley point based on the given index and total number of samples.
Return
A 4D point as a Vector4
where each component lies within the range 0, 1.
Parameters
i
The index of the sample, typically in the range [0, n).
n
The total number of samples.