[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] floating-point Rect?



Pygame's Rect class appears to be integer-only. Is there a floating-point variant, or is that something I'll need to make if I want one?

My reasoning is that texture coordinates, etc are usually 0..1, and I want to use something like a Rect to hold them...

--
Matt Campbell