ObjmoveD.dpr 540 B

123456789101112131415161718192021222324
  1. (*
  2. Moving objects with the mouse.
  3. In this demo you can move the cubes around by picking and dragging
  4. them. This showcases the use of ScreenVectorIntersectXxxx functions.
  5. You can also use the numeric keypad to move/zoom the camera and the arrow
  6. to move the selected object around.
  7. // Based on Rado Stoyanov's test project
  8. *)
  9. program ObjmoveD;
  10. uses
  11. Forms,
  12. fObjmoveD in 'fObjmoveD.pas' {FormObjmove};
  13. {$R *.RES}
  14. begin
  15. Application.Initialize;
  16. Application.CreateForm(TFormObjmove, FormObjmove);
  17. Application.Run;
  18. end.