English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
LablGL question
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-09-02 (17:28)
From: Brian Hurt <bhurt@s...>
Subject: LablGL question

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