With OSX 10.6 and onwards TARGET_OS_IPHONE will always be defined (either to 0 or 1). This means cpVect will always use CGPoint on OSX. That also means cpFloat will be a float and not double and some other things. Is this correct?
Please take a look in this thread/post for the full background:
http://chipmunk-physics.net/forum/viewt ... 265#p10109
TARGET_OS_IPHONE always defined -> always use CGPoint
-
- Posts: 206
- Joined: Tue Aug 21, 2007 3:12 pm
- Contact:
TARGET_OS_IPHONE always defined -> always use CGPoint
http://www.pymunk.org - A python library built on top of Chipmunk to let you easily get cool 2d physics in your python game/app
Who is online
Users browsing this forum: No registered users and 5 guests