Esempio n. 1
0
 private Coct.CollisionMesh Unmap2(CoctCollisionMesh source) =>
 new Coct.CollisionMesh
 {
     BoundingBox = new BoundingBoxInt16(
         new Vector3Int16(source.MinX, source.MinY, source.MinZ),
         new Vector3Int16(source.MaxX, source.MaxY, source.MaxZ)
         ),
     v10 = source.v10,
     v12 = source.v12,
 };
Esempio n. 2
0
 private static Coct.CollisionMesh Unmap2(CoctCollisionMesh source) =>
 new Coct.CollisionMesh
 {
     BoundingBox = new BoundingBoxInt16(
         new Vector3Int16(source.MinX, source.MinY, source.MinZ),
         new Vector3Int16(source.MaxX, source.MaxY, source.MaxZ)
         ),
     Collisions = source.Items.Select(UnmapCollision).ToList(),
     v10        = source.v10,
     v12        = source.v12,
 };