From: Florent Monnier <monnier.florent@gmail.com>
To: Francois Berenger <berenger@riken.jp>
Cc: caml-list@inria.fr, ocaml-opengl <opengl@lists.ocaml.org>
Subject: Re: [Caml-list] standard 3d vector library in OCaml
Date: Wed, 8 May 2013 15:55:11 +0200 [thread overview]
Message-ID: <CAE1DttARsrCZTF4FPj5Hzu1tjFiMEqj94rgYzFqfTacmLo5B+w@mail.gmail.com> (raw)
In-Reply-To: <5189B929.2030808@riken.jp>
2013/5/8, Francois Berenger:
> Hello,
>
> Is there a standard library for this purpose?
>
> Maybe I should relase mine, I have a small one.
I would enjoy to see your library.
Especially if some functions are usable for OpenGL.
Here is bellow what I'm using for OpenGL.
This is not a vector lib but a matrix lib tailored for use with
forward compatible OpenGL.
It only contains 2 or 3 (not-optimised) functions for vectors computations.
https://forge.ocamlcore.org/scm/viewvc.php/trunk/TEST3/ogl_matrix.mli?view=markup&revision=94&root=glmlite
https://forge.ocamlcore.org/scm/viewvc.php/trunk/TEST3/ogl_matrix.mli?view=markup&root=glmlite
https://forge.ocamlcore.org/scm/viewvc.php/trunk/TEST3/ogl_matrix.ml?view=markup&revision=94&root=glmlite
https://forge.ocamlcore.org/scm/viewvc.php/trunk/TEST3/ogl_matrix.ml?view=markup&root=glmlite
But this current revision 94 in the svn is not my more advanced version.
The more recent version is not in the svn because it's C code rewriten
in OCaml and the original code was provided under a more restrictive
license than the one of glMLite (MIT), and I don't want to downgrade
to (L)GPL.
Someone told me that I should not bother about this issue and that
this kind of code should be considered as only math.
http://www.linux-nantes.org/%7Efmonnier/ocaml/GL/fc/code/ogl_matrix.ml.xhtml
http://www.linux-nantes.org/%7Efmonnier/ocaml/GL/fc/code/
If your lib contains things useful for OpenGL I would be pleased to
integrate these parts in my module Ogl_matrix, or maybe even create a
new one Ogl_vector.
(But only if your license is MIT or similar)
--
Cheers
next prev parent reply other threads:[~2013-05-08 13:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-07 7:04 [Caml-list] ECSCW 2013: Call for Work-in-Progress Announce Announcements
2013-05-08 2:32 ` [Caml-list] standard 3d vector library in OCaml Francois Berenger
2013-05-08 13:55 ` Florent Monnier [this message]
2013-05-09 10:23 ` Daniel Bünzli
2013-05-09 20:27 ` [ocaml-opengl] " Florent Monnier
2013-05-09 22:01 ` Daniel Bünzli
2013-05-10 15:48 ` Florent Monnier
2013-05-10 17:01 ` Daniel Bünzli
2013-05-10 17:11 ` Anthony Tavener
2013-05-10 10:15 ` rixed
2013-05-15 1:08 ` Francois Berenger
2013-05-10 2:10 ` Francois Berenger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAE1DttARsrCZTF4FPj5Hzu1tjFiMEqj94rgYzFqfTacmLo5B+w@mail.gmail.com \
--to=monnier.florent@gmail.com \
--cc=berenger@riken.jp \
--cc=caml-list@inria.fr \
--cc=opengl@lists.ocaml.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox