-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
44 lines (32 loc) · 1.4 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
This archive contains OCaml bindings for the
Chipmunk 2D physics library:
http://chipmunk-physics.net/
Download Chipmunk 2D sources there:
https://chipmunk-physics.net/release/
This version of the bindings was tested with Chipmunk
version 6.1.5 and OCaml version 4.14.0.
Arlen Cuss contributed to the update from version 5.2.0
to 5.3.4.
run 'make' to compile the binding, and 'make test'
to launch the "moon buggy" demo.
The demo riquire the OpenGL binding called glMLite,
which can be found at:
http://decapode314.free.fr/ocaml/GL/
run 'make doc' to generate the interface ocamldoc
documentation. Two interfaces are provided, a high
level object oriented one, and a low level one.
The commented demo 'moon_buggy.ml' uses the high
level interface, and the demo 'demo_dist.ml' uses
the low level one.
You can choose between two available installations.
'make install' will apply a manual installation, and
'make install_findlib' for the findlib users.
Findlib users can compile stuff with:
ocamlfind ocamlc -linkpkg -package chipmunk foo.ml
and for those who prefer the traditional way, just:
ocamlc -I +chipmunk chipmunk.cma foo.ml
This binding is released under the terms of the
Expat/X11 license. You can find the conditions of
this license in the file: LICENSE_MIT.txt
Comments and feedbacks are wellcome, write to
<monnier.florent(_)gmail.com>