static void ReadMOPT(BinaryReader br, WMORoot wmo)
{
wmo.PortalInformation = new PortalInformation[wmo.Header.PortalCount];
for (var i = 0; i < wmo.Header.PortalCount; i++)
{
var p = new PortalInformation
{
Vertices = new VertexSpan
{
StartVertex = br.ReadInt16(),
VertexCount = br.ReadInt16(),
},
Plane = br.ReadPlane()
};
wmo.PortalInformation[i] = p;
}
}