[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] floating-point Rect?
- To: pygame-users@seul.org
- Subject: [pygame] floating-point Rect?
- From: Matt Campbell <ghwerig@cox.net>
- Date: Thu, 24 Apr 2003 15:11:31 -0700
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Thu, 24 Apr 2003 18:02:17 -0400
- Reply-to: pygame-users@seul.org
- Sender: owner-pygame-users@seul.org
- User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3) Gecko/20030312
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