Re: Euphoria Chipmunk Physics

new topic     » goto parent     » topic index » view thread      » older message » newer message

OK, I've had a closer look. From what I gather, passing/returning structures is highly compiler-dependent. I've pushed a working win32/phix-only version to PCAN.

Note that I only modified cpBodyGetPosition, cpBodySetPosition, cpBodyGetVelocity, deleted cpBodySetPos, and I think I spotted a simple typo in cpDampedSpringInit (untested).

Regards,
Pete

PS: during my investigations, I found that cpFloat is in fact C_DOUBLE, not C_FLOAT.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu