Esempio n. 1
0
 public static Wireframe GetWireframe(this BaseMulti multi, int multiID, IBlock3D offset)
 {
     return(GetWireframe(multi, multiID, offset, offset.H));
 }
Esempio n. 2
0
 public static Wireframe GetWireframe(this MultiComponentList mcl, IBlock3D offset)
 {
     return
         (new Wireframe(
              GetWireframe(mcl).Select(box => new Block3D(box.Clone3D(offset.X, offset.Y, offset.Z), box.H + offset.H))));
 }
Esempio n. 3
0
 public bool Intersects(IBlock3D b)
 {
     return(Intersects(b.X, b.Y, b.Z, b.H));
 }
Esempio n. 4
0
 public static Wireframe GetWireframe(this BaseMulti multi, IBlock3D offset)
 {
     return(GetWireframe(multi, multi.ItemID, offset));
 }
Esempio n. 5
0
 public bool Equals(IBlock3D b)
 {
     return(b != null && X == b.X && Y == b.Y && Z == b.Z && H == b.H);
 }
Esempio n. 6
0
 public Block3D(IBlock3D b)
     : this(b.X, b.Y, b.Z, b.H)
 {
 }
Esempio n. 7
0
 public bool Equals(IBlock3D b)
 {
     return(!ReferenceEquals(b, null) && X == b.X && Y == b.Y && Z == b.Z && H == b.H);
 }
Esempio n. 8
0
		public static Wireframe GetWireframe(this BaseMulti multi, int multiID, IBlock3D offset)
		{
			return GetWireframe(multi, multiID, offset, offset.H);
		}
Esempio n. 9
0
		public static Wireframe GetWireframe(this BaseMulti multi, IBlock3D offset)
		{
			return GetWireframe(multi, multi.ItemID, offset);
		}
Esempio n. 10
0
		public static Wireframe GetWireframe(this MultiComponentList mcl, IBlock3D offset)
		{
			return
				new Wireframe(
					GetWireframe(mcl).Select(box => new Block3D(box.Clone3D(offset.X, offset.Y, offset.Z), box.H + offset.H)));
		}
Esempio n. 11
0
 public static Wireframe GetWireframe(this MultiComponentList mcl, IBlock3D offset)
 {
     return(new Wireframe(GetWireframe(mcl).Offset(offset.X, offset.Y, offset.Z, offset.H)));
 }