浏览代码

Merge branch 'poisson-disk-super-sampling' of github.com:Unity-Technologies/com.unity.perception into poisson-disk-super-sampling

/main
sleal-unity 4 年前
当前提交
1714be12
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.perception/Runtime/Randomization/Randomizers/RandomizerExamples/Utilities/PoissonDiskSampling.cs

2
com.unity.perception/Runtime/Randomization/Randomizers/RandomizerExamples/Utilities/PoissonDiskSampling.cs


superSampledPoints.Length, Allocator.Temp, NativeArrayOptions.UninitializedMemory);
// The comparisons operations made in this loop are done separately from the list-building loop
// so that burst can automatically generate vectorized assembly code this portion of the job.
// so that burst can automatically generate vectorized assembly code for this portion of the job.
for (var i = 0; i < superSampledPoints.Length; i++)
{
var point = superSampledPoints[i];

正在加载...
取消
保存