Add example alternative shape PortalShape_Circular

Also fixes up a few bugs that only became apparent when not using the traditional portal shape
This commit is contained in:
Treer
2019-07-24 20:08:04 +10:00
committed by Treer
parent 97aa8da305
commit a679d2ca81
3 changed files with 175 additions and 9 deletions

View File

@ -8,7 +8,7 @@ Portal code is more efficient when each type of portal uses a different type
of node to build its frame out of, however it is possible to register more than
one kind of portal with the same frame material — such as obsidian — provided
the size of the PortalShape is distinct from any other type of portal that is
using the same node as its frame.
using the same node as its frame, and portal sizes remain small.
Helper functions