fix thickness bug.

This commit is contained in:
hecomi
2016-12-03 23:27:31 +09:00
parent 22bc306732
commit 6a8bd86d2b
3 changed files with 2 additions and 2 deletions
@@ -95,9 +95,9 @@ inline void uddBendVertex(inout float3 v, half radius, half width, half thicknes
v.x = radius * sin(angle) / width;
#else
#ifdef _FORWARD_Z
v.y *= thickness;
#elif _FORWARD_Y
v.z *= thickness;
#elif _FORWARD_Y
v.y *= thickness;
#endif
#endif
}