[RESOLVED] Drawing a Line using Direct3D
I am using Direct3D Graphics for a 2D shooter game i am making. And i need to be able to draw lines. But since Direct3D can't draw a line from 1 vertex to another, i don't know how to draw one. It has to be atleast 3 vertices to be drawn. :(
So i tried drawing a very small triangle looking like a line, but when the second vertex was above the other 2 vertices, the line became invisible.
So does anyone know how to draw a simple line with Direct3D? Thank you.
Re: Drawing a Line using Direct3D
Re: Drawing a Line using Direct3D
Re: Drawing a Line using Direct3D
Two triangles make a rectangle, which could be used as a line.