문제

How can we draw a line between 2 points which are derived at run time? These are two 3 dimensional points in the 3D space. Thanks.

도움이 되었습니까?

해결책

Well.. Pretty easy.

use D3DPT_LINELIST as the first paramerter in the call to

IDirect3DDevice9::DrawPrimitive();

and the geometry will be rendered as lines.

Best of Luck!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top