Converting coordinates from 3D to 2D.

Jan 22 2008 4:55 AM

Hi All,

I want to convert 3D vector coordinates to 2D as I want draw line & for drawing line, it requires Vector2.

I am working in DirectX with C#.net application.

I am having position  of a box mesh in 3D, and from that position I want to draw a line to some another position. For that I want to convert the position in 3D to 2D value.

Thank you for helping.

Regards,

Diptesh Patel.


Answers (1)