contributed to Psychtoolbox under the GPL license by Prof. Richard F.
Murray, University of York, Canada. Porting to other operating systems
maintenance has been done by Mario Kleiner.
moglcore.mexmac -- main MEX interface to
OpenGL functions
oglconst.mat -- constants used by
OpenGL routines
setupdate.sh -- shell script to start or stop 'update' process
(normally called via wrap/glmSetUpdate.m)
autocode.m -- MATLAB script that generates gl_auto.c and M-file
interfaces to moglcore.mexmac
autono.txt -- list of
OpenGL functions that autocode.m should not
generate interfaces for; most of these appear
in gl_manual.c
gl_auto_init.c -- file used in generating gl_auto.c; contains
top portion of file, i.e., #includes, etc.
oglconst.m -- MATLAB script that searches through
OpenGL header
files for #defined constants, and writes them
to oglconst.mat as variables
headers/*.h --
OpenGL headers to parse in addition to system
header files.
private/*.m -- miscellaneous helper files for autocode.m
gl_auto.c -- automatically generated interfaces to
OpenGL functions
gl_manual.c -- manually generated interfaces to
OpenGL functions
glm.c -- GLM library of GLUT-like functions - not build
by default -- deprecated.
moglcore.c -- main MEX interface function
mogltypes.h -- useful data types
makefile -- makefile to compile C files into moglcore.mexmac
wrap/* -- wrapper M-files that check arguments, etc., and
then call to moglcore.mexmac to run
OpenGL functions
The following three commands will completely regenerate mogl.