Don't see why you would need a function like that; I believe if you pass
an origin outside the view cone to "WorldToScreen", the X/Y/Z
coordinates it returns are outside the drawing area anyway (the "Z"
value would define the depth, negative values I believe are behind the
player).

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of James
Williams
Sent: Tuesday, February 12, 2002 9:50 PM
To: [EMAIL PROTECTED]
Subject: RE: [hlcoders] TriAPI WorldToScreen() Function


> Whats the PosInCone function?  Is this something you have made? If so
> would a DotProduct test work the same way?

It's a quickie function I wrote that does a dot product with the
viewangles, yes.

-James "Corvidae" Williams ([EMAIL PROTECTED])
Administrator, Wavelength Forums
(http://www.planethalflife.com/wavelength)
Co-Leader / Coder, Underhive (http://www.underhive.com)

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to