Mail Archives: djgpp/1997/02/09/06:28:36
George Foot writes:
>>can be a big pain to get right), and then bitwise-or the two masks
>>together. If the resulting value is non-zero, the objects have collided.
>
>Surely you mean '...then bitwise-and the two masks together...'? A
>bitwise-or will always be non-zero if either of the inputs is
>non-zero...
Argh. Yes, you are absolutely right :-)
I must have been tired or hung-over or just not thinking properly when I
wrote that. I'll shut up now, before I say anything else stupid :-)
/*
* Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
* Ghoti: 'gh' as in 'enough', 'o' as in 'women', and 'ti' as in 'nation'.
*/
- Raw text -