NewtonSimple.dpr 703 B

123456789101112131415161718192021222324252627
  1. { : Newton Game Dynamics Physics Engine demo.
  2. This is the simplest exemple of how to create dynamic body suported by NGD.
  3. To execute the simulation we need to indicate to the physics engine the time
  4. elapsed for update in GLCadencer1Progress.
  5. The floor is static, so it can't move.
  6. <b>History : </b><font size=-1><ul>
  7. <li>31/01/11 - FP - Update for GLNGDManager
  8. <li>17/09/10 - FP - Created by Franck Papouin
  9. </ul>
  10. }
  11. program NewtonSimple;
  12. uses
  13. Forms,
  14. fNewtonSimple in 'fNewtonSimple.pas' {FormNewtonSimple};
  15. {$R *.res}
  16. begin
  17. Application.Initialize;
  18. Application.MainFormOnTaskbar := True;
  19. Application.CreateForm(TFormNewtonSimple, FormNewtonSimple);
  20. Application.Run;
  21. end.