A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by Stucuk » Fri Feb 19, 2016 7:11 am
A WIP version of the 3.14 header can be obtained below:
-
http://pastebin.com/s3GD8gYvA bit over 50% of the header has been converted (Enough to get the basics working). h2pas tool is likely the best option until an "Official" one is done.
-
Stucuk
-
- Posts: 801
- Joined: Sat Mar 12, 2005 3:54 pm
- Location: Scotland
-
by Akira1364 » Fri Feb 19, 2016 8:27 pm
The updated 3.14 version is just what I've been hoping for! I've been trying to get the Newton-based physics implementation in DXScene to work properly with modern Lazarus (on 64-Bit Windows), and the headers DXScene originally shipped with were certainly not cutting it...
-
Akira1364
-
- Posts: 5
- Joined: Fri Feb 19, 2016 8:24 pm
by Stucuk » Wed Mar 16, 2016 9:02 pm
Attached to this post is a 3.14 header generated by NewtonDoc (An app i am developing) from the original Newton.h .
It was generated on 17/03/2016 00:58:27 GMT.
- Attachments
-
- newton_pas.rar
- (11.99 KiB) Downloaded 534 times
-
Stucuk
-
- Posts: 801
- Joined: Sat Mar 12, 2005 3:54 pm
- Location: Scotland
-
by Spek » Sun Apr 10, 2016 9:55 am
Much appreciated!
Can't compile it though. Line221 & 223
SERIALIZE_ID_TAPEREDCAPSULE : (sdTaperedCapsule : TNewtonTaperedCapsuleParam);
SERIALIZE_ID_TAPEREDCYLINDER : (sdTaperedCylinder : TNewtonTaperedCylinderParam);
Those ID aren't there (anymore), at least not declared earlier in the file.
-
Spek
-
- Posts: 66
- Joined: Sat Oct 04, 2008 8:54 am
by Julio Jerez » Sun Apr 10, 2016 11:33 am
yes those two shapes are deprecated in 3.14 as now cylinders and capsules are generalized shapes.
they take two radios as opposed to before that the took one radio and where a special cases of the general shapes.
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by JernejL » Thu Oct 19, 2017 5:20 am
Minor bug, just remove int:
- Code: Select all
int m_faceCount : Integer;
( Sorry for originally editing your post, i wanted to reply, not edit
)
-
JernejL
-
- Posts: 1578
- Joined: Mon Dec 06, 2004 2:00 pm
- Location: Slovenia
-
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 22 guests