From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 0FDAEBC6B for ; Sun, 2 Sep 2007 19:28:34 +0200 (CEST) Received: from bsd4.nyct.net (mail-out8.nyct.net [216.139.141.8]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l82HSWuL014132 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 2 Sep 2007 19:28:33 +0200 Received: from [192.168.42.2] (adsl-216-139-154-52.nyct.net [216.139.154.52]) by bsd4.nyct.net (8.13.4/8.13.4) with ESMTP id l82HSS6c030441 for ; Sun, 2 Sep 2007 13:28:29 -0400 (EDT) (envelope-from bhurt@spnz.org) Date: Sun, 2 Sep 2007 13:41:42 -0400 (EDT) From: Brian Hurt X-X-Sender: bhurt@localhost To: caml-list Subject: LablGL question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Miltered: at discorde with ID 46DAF2C0.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; lablgl:01 mli:01 datatype:01 unboxed:01 unboxed:01 unboxing:01 ocaml:01 vectors:01 tuple:02 data:02 defined:02 floats:02 opengl:03 brian:05 brian:05 Is there a reason why, in gl.mli, point3 is defined as a tuple, and not a structure or array or other datatype that holds floats unboxed? Having it an unboxed type would be a double advantage- unboxing in Ocaml, and the ability to call the vector vectors on the openGL side of things without having to copy the data. Just wondering... Brian