Re: mathmatical question.. - Reply
- Posted by Ralf Nieuwenhuijsen <nieuwen at POP.XS4ALL.NL> May 29, 1997
- 770 views
> Sorry, this is almost as long as some of Ralf's messages... Gee, funny! If he doesn't use all of his colors, make the above 128 entries of the pallete the same as the 128 under, and simple remove the mousecursor, check the color, if it's above 128 it's inside, if it's under 128 it's outside!!! If this is needed very deperate tell me and i'll write a routine which checks give coordinates, and returns which polygons (plurar if they can overlap each other) the mouse has clicked on --> See how short it is...