Results 1 to 10 of 10

Thread: Physics engines

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Here the chipmunk demos for Windows. OpenGL and GLUT the only dependencies.

  2. #2
    thanks Andru , the speed is about equal to the original c++ demos , i recompiled it with delphi 2006 , seems delphi produce fast code than fpc

  3. #3
    Great! It compiled immediately, I have some link trouble so far but that should be managable.

  4. #4
    Quote Originally Posted by virtual View Post
    thanks Andru , the speed is about equal to the original c++ demos , i recompiled it with delphi 2006 , seems delphi produce fast code than fpc
    What is equal, Delphi? Do you mean Delphi is as fast or faster than FPC?

  5. #5
    Quote Originally Posted by Andru View Post
    Here the chipmunk demos for Windows. OpenGL and GLUT the only dependencies.
    It certainly is compiled, but an arithmetic overflow occurs at startup. Physics dovno not been updated, and of course with the current version of the compiler I think these errors are possible. How can I fix this? Or what other options there are, that would not suffer, and to connect the physics and can already be working.
    The very error occurs here:

    Code:
    if options.drawShapes then
      begin
        cpSpaceHashEach(space.activeShapes, drawObject, space);
        cpSpaceHashEach(space.staticShapes, drawObject, space);
      end;
    in the funtion draw by drawSpace module

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •