TARGET_OS_IPHONE always defined -> always use CGPoint

Discuss any Chipmunk bugs here.
Post Reply
viblo
Posts: 206
Joined: Tue Aug 21, 2007 3:12 pm
Contact:

TARGET_OS_IPHONE always defined -> always use CGPoint

Post by viblo »

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
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
Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests