Re: [AD] Addition suggestion: scare_mouse_area

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Vincent PENQUERC'H <vpenquerch@xxxxxxxxxx> writes:
> Do you think a routine based on scare_mouse but with coordinates info 
> would be useful to the lib?

Sounds good to me...

> I don't know for speed, maybe the coordinates testing would be slower or 
> faster than always hiding.

I think that testing is such a trivial overhead, it really doesn't make any 
difference at this level. Mouse cursor updates are a per-frame operation, 
not per-primitive, so it doesn't matter how efficient they are (and a 
bounding box test isn't expensive in any case).


--
Shawn Hargreaves - shawn@xxxxxxxxxx - http://www.talula.demon.co.uk/
"A binary is barely software: it's more like hardware on a floppy disk."



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/