NewtonSimpleD.dpr 614 B

1234567891011121314151617181920212223
  1. (* Newton Game Dynamics Physics Engine demo.
  2. This is the simplest example 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. Updated for GLScene by Franck Papouin 31/01/11
  7. *)
  8. program NewtonSimpleD;
  9. uses
  10. Forms,
  11. fNewtonSimpleD in 'fNewtonSimpleD.pas' {FormNewtonSimple};
  12. {$R *.res}
  13. begin
  14. Application.Initialize;
  15. Application.MainFormOnTaskbar := True;
  16. Application.CreateForm(TFormNewtonSimple, FormNewtonSimple);
  17. Application.Run;
  18. end.