NewtonIslandUpdate() issue.

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

NewtonIslandUpdate() issue.

Postby thedmd » Tue Oct 27, 2009 10:05 pm

Hello Julio,

Once more time I wish to ask you about adding const NewtonWorld* to callback function. For example:
Code: Select all
typedef int (*NewtonIslandUpdate) (const NewtonWorld*, const void* islandHandle, int bodyCount);

I'm able to pass this callback thought managed API, but I cannot wrap it into an object, becouse there is no way to identify ownership.
What is your opinion?
thedmd
 

Re: NewtonIslandUpdate() issue.

Postby Julio Jerez » Tue Oct 27, 2009 10:19 pm

Ha ok done it. I will try to put 2.11 in eth next day or two
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: NewtonIslandUpdate() issue.

Postby thedmd » Tue Oct 27, 2009 10:28 pm

Gracias!
thedmd
 


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron