I think J's new opengl implementation should include an adverb to define opengl verbs in a platform-independent fashion.
Using the current windows implementation as an example:
openglCall=:1 :0
('opengl32.dll ',m) 15!:0"1 <&>
)
This would allow
glColor3f=: 'glColor3f n f f f' openglCall
(Perhaps this concept should be extended to support glu.)
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
