/// <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(); }
/// <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(); }