浏览代码

Fix the typo

/RenderPassXR_Sandbox
Evgenii Golubev 8 年前
当前提交
8a65f37a
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 6
      Assets/ScriptableRenderPipeline/ShaderLibrary/SpaceFillingCurves.hlsl

6
Assets/ScriptableRenderPipeline/ShaderLibrary/SpaceFillingCurves.hlsl


#ifndef UNITY_SPACE_FILLING_SURVES_INCLUDED
#define UNITY_SPACE_FILLING_SURVES_INCLUDED
#ifndef UNITY_SPACE_FILLING_CURVES_INCLUDED
#define UNITY_SPACE_FILLING_CURVES_INCLUDED
// "Insert" a 0 bit after each of the 16 low bits of x.
// Ref: https://fgiesen.wordpress.com/2009/12/13/decoding-morton-codes/

return uint3(Compact1By2(code >> 0), Compact1By2(code >> 1), Compact1By2(code >> 2));
}
#endif // UNITY_SPACE_FILLING_SURVES_INCLUDED
#endif // UNITY_SPACE_FILLING_CURVES_INCLUDED
正在加载...
取消
保存