Overview  Index  Help 
glut

glut

Rolling Cube

To run this demo, you need to configure and compile SML# with
specifying --with-ffi-max-args more than 9.

Then, set some environment variables along with your platfrom,
and then run cube.sml.

Example:

General Unix:
env CPPFLAGS=-I/usr/X11R6/include LDFLAGS=-L/usr/X11R6/lib smlsharp cube.sml

Mac OS X:
env LDD='otool -L' smlsharp cube.sml

Cygwin:
env CPPFLAGS=-I/usr/X11R6/include LDFLAGS=-L/usr/X11R6/lib LIBNAME_SUFFIX=.dll LDD=cygcheck ARCSEP='\' smlsharp cube.sml


Enjoy!
Opened structures

GL

GLU

GLUT

   
Inner Structure summary

structure GL

structure GLU

structure GLUT

           
Value summary

val ++

val cube

val display

val it
           cube.sml

val it
           libglut.sml

val progname

val r

val resize

val timer

 

       
Value detail

it

val it

libglut.sml

Author:
UENO Katsuhiro
Copyright:
(c) 2006-2007, Tohoku University.
Version:
$Id: libglut.sml,v 1.10.2.3 2007/03/29 15:00:37 katsu Exp $
Source:
libglut.sml:9.0

it

val it

cube.sml

Author:
UENO Katsuhiro
Copyright:
(c) 2006-2007, Tohoku University.
Version:
$Id: cube.sml,v 1.3.2.1 2007/03/26 06:26:50 katsu Exp $
Source:
cube.sml:9.0

++

val ++

Source:
cube.sml:14.4

progname

val progname

Source:
cube.sml:16.4

r

val r

Source:
cube.sml:17.4

cube

val cube

Source:
cube.sml:31.4

display

val display

Source:
cube.sml:52.4

resize

val resize

Source:
cube.sml:74.4

timer

val timer

Source:
cube.sml:85.4

 


Overview  Index  Help 
glut