From what I gather by reading a rather outdated version of vector.h,
you can call Negate() to invert an existing vector; or, if you don't
#define VECTOR_NO_SLOW_OPERATIONS, you can create a new negated vector
by calling {v2 = -v1;} (the canonical negation operator.)

To be sure, just check public/vector.h.

~~ Ondra

Jay C. wrote:
Hey,

Anyone know the quickest way to inverse a Vector?

I tried x,y and z *= -1 but that wasn't correct.

Thanks in advance.

Jay


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

Reply via email to