From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA23841; Fri, 27 Dec 2002 12:23:52 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA20991 for caml-list@pauillac.inria.fr; Fri, 27 Dec 2002 12:23:51 +0100 (MET) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA23332 for ; Fri, 27 Dec 2002 12:10:40 +0100 (MET) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id gBRBAdH05198 for ; Fri, 27 Dec 2002 12:10:39 +0100 (MET) Received: from univ-savoie.fr (grenoble-1-a7-62-147-74-187.dial.proxad.net [62.147.74.187]) by postfix3-2.free.fr (Postfix) with ESMTP id 85440C0AD; Fri, 27 Dec 2002 12:10:37 +0100 (CET) Message-ID: <3E0C4335.2060504@univ-savoie.fr> Date: Fri, 27 Dec 2002 12:10:29 +0000 From: Christophe Raffalli Organization: =?ISO-8859-1?Q?Universit=E9_de_Savoie?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jacques Garrigue Cc: caml-list@inria.fr Subject: Re: [Caml-list] Announce: camlgl - OpenGL bindings for OCaml References: <200212201546.12363.snob@snob.spb.ru> <20021220152805.GA3522@iliana> <200212210219.18421.snob@snob.spb.ru> <20021225113708J.garrigue@kurims.kyoto-u.ac.jp> X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig04DF2E1753D952CCABA2ED62" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig04DF2E1753D952CCABA2ED62 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit There is one little problem with lablGL: The height functions provided for GlDraw.normal and GlDraw.vertex necessarely uses boxed float. You should add (I will do it for myself very soon) direct access to the GL function to be able to benefit from the optimization of OCaml for unboxed float. This is important for this two function and may be a few others (GlDraw.begins and GlDraw.ends, ...) which are used very often and where the optional arguments and the call to the stub code may cost too much. But I think it is a good idea to keep a type-safe interface as much as possible and put the unsafe fast call in a GlUnsafe module ! I learned GL using LablGl and it is very well suited for that. Much better than raw C or C++. -- Christophe Raffalli Université de Savoie Batiment Le Chablais, bureau 21 73376 Le Bourget-du-Lac Cedex tél: (33) 4 79 75 81 03 fax: (33) 4 79 75 87 42 mail: Christophe.Raffalli@univ-savoie.fr www: http://www.lama.univ-savoie.fr/~RAFFALLI --------------------------------------------- IMPORTANT: this mail is signed using PGP/MIME At least Enigmail/Mozilla, mutt or evolution can check this signature --------------------------------------------- --------------enig04DF2E1753D952CCABA2ED62 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+DEM6SQDyWB/+xBwRAtmOAKDfS3rrOHXuIKKimG8Ssxt2MMxSiACg41g/ F+6NKT2zVep3RcAOdHpwKkQ= =0tiq -----END PGP SIGNATURE----- --------------enig04DF2E1753D952CCABA2ED62-- ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners