Re: [hlcoders] Perspective projection in a hud element

2005-03-29 Thread Teddy
I don't know how to get this working, but if you figure it out, let me know! Hi! Teddy On Sun, 27 Mar 2005 03:24:32 -0500, Casey Bodley [EMAIL PROTECTED] wrote: I'm having trouble setting up a perspective projection for drawing to a hud element. The following code fails to draw anything to

[hlcoders] Perspective projection in a hud element

2005-03-27 Thread Casey Bodley
I'm having trouble setting up a perspective projection for drawing to a hud element. The following code fails to draw anything to the screen: (I hope the formatting doesn't get fudged beyond recognition) void CHudPerspective::Paint() { materials-MatrixMode( MATERIAL_PROJECTION );