Debug draw class
by George Lancaster · in Torque Game Engine · 06/06/2004 (11:37 am) · 5 replies
Is there a DEBUGDRAW->DrawLine(const Vector3 &a,const Vector3 &b,RGBA col) class somewhere, or is it open gl calls through the code?
About the author
#2
06/06/2004 (7:18 pm)
Guess I will write one then. Thanx :)
#3
06/06/2004 (8:51 pm)
Any particular reason you have to write one?
#4
06/07/2004 (9:04 am)
I changed the math lib to some degree, and I think I creamed the Matrix34::LookAt(const Vector3 &lookpos) when I changed it from a y up to a z up system. Its so damn handy to have a DEBUGDRAW->DrawMtx(const Matrix34 &mtx); Anyway you want to que all the drawing info and render all of it at once. That way it'll be fast.
#5
06/07/2004 (9:13 am)
Doesn't really matter, under TGE. Under TSE, it's probably a significant issue. Anyway, sounds like it'd be a cool resource, hint hint. ;)
Associate Kyle Carter
TSE has a debug draw class, however.