Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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...