GPU Lightning Weapons
This commit is contained in:
parent
bb297bf84c
commit
8d10e33db0
26 changed files with 1163 additions and 876 deletions
|
|
@ -373,9 +373,9 @@ public class SectorRenderer : MonoBehaviour
|
|||
hitShape[v] = true;
|
||||
}
|
||||
|
||||
for (int i = 0; i < hit.Spread - 1; i++)
|
||||
for (int i = 0; i < Mathf.RoundToInt(hit.Spread); i++)
|
||||
{
|
||||
hitShape.Expand();
|
||||
hitShape = hitShape.Expand();
|
||||
}
|
||||
|
||||
if (hit.Penetration > .5f)
|
||||
|
|
|
|||
Loading…
Reference in a new issue