ID3DXLine in D3D8
Is there something in D3D8 that I might be able to use as the same as you would with ID3DXLine in D3D9? I've searched around a little, and I couldn't find anything :-(
EDIT: Beat me to it :(
First, there may be something, but none that I know of.
If you just need to draw lines for debugging purposes, or only need lines with a width of 1 pixel, there is a line primative type you can use instead of the standard triangle strip.
If you need more functionality (ie. a width > 1), this might be a good little side project to work on: create a utility class that, when supplied 2 points and a line width, it will draw a line using trianlgles!
Hopefully someone can give you a definitive answer to your original question.
Matt
First, there may be something, but none that I know of.
If you just need to draw lines for debugging purposes, or only need lines with a width of 1 pixel, there is a line primative type you can use instead of the standard triangle strip.
If you need more functionality (ie. a width > 1), this might be a good little side project to work on: create a utility class that, when supplied 2 points and a line width, it will draw a line using trianlgles!
Hopefully someone can give you a definitive answer to your original question.
Matt
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement