浏览代码

added missing parenthesis to iterateSeed method

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

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


[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static uint IterateSeed(uint index, uint baseSeed)
{
return (uint)Hash64((ulong)index << 32 | baseSeed) << 1 | 1u;
return (uint)Hash64(((ulong)index << 32) | baseSeed) << 1 | 1u;
}
/// <summary>

正在加载...
取消
保存