float * is simly a pointer to a float[3]
----- Original Message -----
From: "Cale Dunlap" <[EMAIL PROTECTED]>
To: "HLCodersList" <[EMAIL PROTECTED]>
Sent: Saturday, March 02, 2002 7:08 PM
Subject: [hlcoders] client side vectors... WTF?!
--
[ Picked text/plain from multipart/alternative ]
I'm not fully understanding how the hell someone can deal with 'float *' and
treat them as vectors, and get them to actually work. I found a particle
system tutorial, written by TheTinySteini. I wrote a new function that takes
a parameter ('float *origin'), and uses that in determining the origin of
the particle. When that function gets called, the actual position ends up to
be something like: -59237234, 1045868234, 0 and I can't figure out why. The
parameter it passes is pTrace->endpos, I used that endpos vector when I used
R_TempSprite's to do the smoke puffs of bullets, it worked fine with that.
Now that I'm trying to use particles, the origin isn't passed right... any
ideas?
-Cale 'Mazor'
"Even in death, feelings carry on; love -- the ultimate power -- will stay
within me, as I will stay with thee."
-MeGet more from the Web. FREE MSN Explorer download :
http://explorer.msn.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