From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Collison detection fo Action game Date: Fri, 7 Feb 1997 20:10:41 +0000 Organization: None Distribution: world Message-ID: References: <855142026 DOT 12716 AT dejanews DOT com> <32fb0fde DOT 3669297 AT news DOT ox DOT ac DOT uk> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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'. */