Original Post
Thanks alot
[edited by - nomibegood on June 13, 2002 7:49:52 AM]
quote:
Original post by Useful
cant
quote:
Original post by ALiENiD
x ^= y;
y ^= x;
x ^= y;
quote:
Original post by felonius
You *can* do so:
x = x+y;
y = x-y;
x = x-y;
or for a longer discussion see this thread:
http://www.gamedev.net/community/forums/topic.asp?topic_id=98678
quote:
Original post by ALiENiD
x ^= y;
y ^= x;
x ^= y;
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more