Game Development Community

Selection rectangle

by Germain Bataille · in Torque Game Engine · 04/14/2005 (10:19 am) · 0 replies

Hi,

Now that i'm in god view mode, I would like to get a selection rectangle binded with the mouse...

I put some code in DemoGame::processInputEvent() :
dglDrawLine(x1,y1,x2,y2, ColorI( 255, 255, 255 ));
Just for testing,but nothing render?

Anyone can help?


Germain