浏览代码

oops, left out type in decl

oops, left out type in decl
/main
mmikk 8 年前
当前提交
6ce68b6d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Assets/ScriptableRenderLoop/fptl/scrbound.compute

2
Assets/ScriptableRenderLoop/fptl/scrbound.compute


if (bIsSideQuad) { vA2 *= (iAbsSide == 0 ? vScaleXY.x : vScaleXY.y); vB2 *= (iAbsSide == 0 ? vScaleXY.y : vScaleXY.x); }
p0 = vCen + (vA + vB - vC); // vCen + vA is center of face when vScaleXY is 1.0
vNout = cross( vB2, 0.5*(vA-vA2) - vC );
float3 vNout = cross( vB2, 0.5*(vA-vA2) - vC );
#ifdef LEFT_HAND_COORDINATES
vNout = -vNout;

正在加载...
取消
保存