浏览代码

Fix problem with normal sampler

/fod_generator_randomization_changes
Steven Borkman 4 年前
当前提交
3519b058
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.perception/Runtime/Randomization/Samplers/SamplerUtility.cs

2
com.unity.perception/Runtime/Randomization/Samplers/SamplerUtility.cs


return min;
var stdTruncNorm = NormalCdfInverse(c);
return stdTruncNorm * stdDev + mean;
return math.clamp(stdTruncNorm * stdDev + mean, min, max);
}
/// <summary>

正在加载...
取消
保存