Re: mathmatical question.. - Reply

new topic     » goto parent     » topic index » view thread      » older message » newer message

> 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...

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu