/// <summary> /// Initializes a new instance of the <see cref="CollisionViewer"/> class. /// </summary> /// <param name="tempcoll">The tempcoll.</param> /// <param name="map">The map.</param> /// <remarks></remarks> public CollisionViewer(coll tempcoll, Map map) { coll = tempcoll; this.map = map; // Set the initial size of our form this.ClientSize = new Size(800, 600); // And its caption this.Text = "Collision Viewer"; this.MouseDown += BSPCollisionViewer_MouseDown; this.MouseMove += this.ModelViewer_MouseDown; keyboard = new Microsoft.DirectX.DirectInput.Device(SystemGuid.Keyboard); Main(); }
//: coll is KeySeq ? IterReduce(coll, f, val) //: coll is ValueSeq ? IterReduce(coll, f, val) : SeqReduce(coll, f, val);
: coll is IVector ? SeqReduce(coll, f, val) : coll is System.Collections.IEnumerable e ? IterReduce(e, f, val)
: coll is LazySeq ? SeqReduce(coll, f, val) : coll is IVector ? SeqReduce(coll, f, val)
: coll is ASeq ? SeqReduce(coll, f, val) : coll is LazySeq ? SeqReduce(coll, f, val)
//: coll is KeySeq ? IterReduce(coll, f) //: coll is ValueSeq ? IterReduce(coll, f) : SeqReduce(coll, f);
: coll is ASeq ? SeqReduce(coll, f) : coll is LazySeq ? SeqReduce(coll, f)