Perhaps we all need more sleep then Mazor, I bought it too. :X

Thanks for showing us all up there Persuter :P

At 05:10 AM 11/8/2002 +0000, you wrote:
Heh, I didn't know it was a vec... oops. I thought it was just a z value for
a vector. I guess I'm off.... I was just thinking along the lines of
"anything times zero = zero"

-Mazor


From: Persuter <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [hlcoders] Re: [hlcoders] RE: [hlcoders] Valve´s  programmers need
more sleep?
Date: Thu, 07 Nov 2002 22:06:11 -0500

???

        vec3_t          view_ofs;       // eye position

How does pev->view_ofs = 0 work? Sounds suspiciously like you just set
view_ofs to NULL.

Anyway, the difference is three floating-point multiplications. Not a huge
problem in a Think function. :)

Persuter

At 04:44 PM 11/7/2002 -0600, you wrote:
HAHA

*changes the line in the Firearms code to read:
pev->view_ofs = 0;
*

THANK YOU!

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:hlcoders-admin@;list.valvesoftware.com] On Behalf Of Oskar 'Zoot'
Lindgren
Sent: Thursday, November 07, 2002 3:37 PM
To: [EMAIL PROTECTED]
Subject: [hlcoders] Valve´s programmers need more sleep?


This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hi!

I found a funny thing:

"pev->view_ofs = pev->view_ofs * 0.0;" from trigger.cpp line 859....


It can be done better... and you will get about
0.000000000000000000000000000000000008027% higher FPS, i have tested.

/ A bored Zoot


--

_______________________________________________
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
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail

_______________________________________________
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