private static Coct.Collision UnmapCollision(CoctCollision source) => new Coct.Collision { v00 = source.v00, Vertex1 = source.Vertex1, Vertex2 = source.Vertex2, Vertex3 = source.Vertex3, Vertex4 = source.Vertex4, Plane = new Plane(source.PlaneX, source.PlaneY, source.PlaneZ, source.PlaneD), BoundingBox = Unmap6(source.BoundingBox), SurfaceFlags = Unmap7(source.Flags), };
private static Coct.Collision Unmap3(CoctCollision source) => new Coct.Collision { v00 = source.v00, Vertex1 = source.Vertex1, Vertex2 = source.Vertex2, Vertex3 = source.Vertex3, Vertex4 = source.Vertex4, PlaneIndex = source.Co5Index, BoundingBoxIndex = source.Co6Index, SurfaceFlagsIndex = source.Co7Index, };