TARGET_OS_IPHONE always defined -> always use CGPoint

Discuss any Chipmunk bugs here.

TARGET_OS_IPHONE always defined -> always use CGPoint

Postby viblo » Fri Aug 10, 2012 9:54 am

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:
viewtopic.php?f=1&t=2265#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
viblo
 
Posts: 206
Joined: Tue Aug 21, 2007 3:12 pm

Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron