   Need help drawing a bounding box
  Hi, I need help asap.. have been working on this for what seems like forever, and I think it should just be easy...I have a list of 8 vertices which make up my bounding box and I want to draw it on the screen... and not as a solid box but just lines... and I can't for the life of me figure out how to do it.I'm using directX 9 and c# in .net 2008.Any help is appreciated, as my time for this is almost up.Thanks   
  Are you using SlimDX? I only know straigt dx..You can supply this as an argument to DrawPrimitive. The first argument, D3DPRIMITIVETYPE PrimitiveType, needs to be set to LineList or LineStrip. Check the docs to make sure how to format your index/vertex buffer.;  Still need help... Here is some sample code I am using... and the error I'm getting is:Error:Object contains non-primitive or non-blittable dataCode:int maxPoints = 8;   VertexPositionColor[] vertices = new VertexPositionColor[maxPoints];   vertices[0].Position = new Vector3(Min.X, Min.Y, Min.Z);   vertices[1].Position = new Vector3(Max.X, Min.Y, Min.Z);   vertices[2].Position = new Vector3(Max.X, Min.Y, Max.Z);   vertices[3].Position = new Vector3(Min.X, Min.Y, Max.Z);   vertices[4].Position = new Vector3(Min.X, Max.Y, Min.Z);   vertices[5].Position = new Vector3(Max.X, Max.Y, Min.Z);   vertices[6].Position = new Vector3(Max.X, Max.Y, Max.Z);   vertices[7].Position = new Vector3(Min.X, Max.Y, Max.Z);   device.DrawUserPrimitives(PrimitiveType.LineList, 1, vertices);I just want to draw the bounding boxes with lines... I also have a list of indices that I can use... please help me, this is way more frustrating than it should be (or so I believe). Thanks   