From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id CE61E7EE51 for ; Wed, 8 May 2013 15:55:14 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of monnier.florent@gmail.com) identity=pra; client-ip=74.125.82.172; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="monnier.florent@gmail.com"; x-sender="monnier.florent@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of monnier.florent@gmail.com designates 74.125.82.172 as permitted sender) identity=mailfrom; client-ip=74.125.82.172; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="monnier.florent@gmail.com"; x-sender="monnier.florent@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-we0-f172.google.com) identity=helo; client-ip=74.125.82.172; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="monnier.florent@gmail.com"; x-sender="postmaster@mail-we0-f172.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvIDAHBYilFKfVKsjmdsb2JhbAA3GhaDKLBOjkVzCBYOAQEBAQcNCQkSBiSCIAEFQAEbHQEDDAYFCzsiAREBBQEcBogMAQMPDDOjeYw9gn6EfQoZJw1Yh1IBBQyPHAeDVQOXKo9QFimENjo X-IPAS-Result: AvIDAHBYilFKfVKsjmdsb2JhbAA3GhaDKLBOjkVzCBYOAQEBAQcNCQkSBiSCIAEFQAEbHQEDDAYFCzsiAREBBQEcBogMAQMPDDOjeYw9gn6EfQoZJw1Yh1IBBQyPHAeDVQOXKo9QFimENjo X-IronPort-AV: E=Sophos;i="4.87,635,1363129200"; d="scan'208";a="13605768" Received: from mail-we0-f172.google.com ([74.125.82.172]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 08 May 2013 15:55:14 +0200 Received: by mail-we0-f172.google.com with SMTP id w60so1882631wes.17 for ; Wed, 08 May 2013 06:55:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=iTtwJTVikVV4mduhMDPS0mc5q34x6Zl2fcFzti+/QSw=; b=ppfFGTD1WBrzOkPQi4FxIv9EsROJGRVDr/9jnGeWuFGzUQiB81rkVIkzCLnsyZVIZs vLuG/jsdbSqbOiNaOL+hPCTvdrIHmEWZgk2xNcopJzAMOwusqQWt1lJdKYhAm/B/+aYr HoqeBIm6YCgzzJDZ9keBIrZa8oPoURc+Tt5ZeZfGSU/jn/QSh1SIn+QXSXLjaX6mm6T0 1Zw5a8RrL5oXXtbEjgtgh5Bl6pqRU0rgNMH9sxLJ7M8kzmBzel59m5BAuFBLc68Z7oEK h6cLLsM+919qnb7gUnhizJWNSMjd1i5t5gI6s7zgZagftykILcN8Iizc2485bNM1nEf4 WGrQ== MIME-Version: 1.0 X-Received: by 10.181.12.1 with SMTP id em1mr10007207wid.4.1368021312227; Wed, 08 May 2013 06:55:12 -0700 (PDT) Received: by 10.194.133.133 with HTTP; Wed, 8 May 2013 06:55:11 -0700 (PDT) In-Reply-To: <5189B929.2030808@riken.jp> References: <5WRK1WTA-CFLT-K2D2-HI4C-UBS0MHNSFIAY@cs.ucy.ac.cy> <5189B929.2030808@riken.jp> Date: Wed, 8 May 2013 15:55:11 +0200 Message-ID: From: Florent Monnier To: Francois Berenger Cc: caml-list@inria.fr, ocaml-opengl Content-Type: text/plain; charset=ISO-8859-1 X-Validation-by: monnier.florent@gmail.com Subject: Re: [Caml-list] standard 3d vector library in OCaml 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