misc main-related fixes
svn: r8768
This commit is contained in:
parent
cc2e1464e8
commit
4115bb68a0
|
@ -214,9 +214,11 @@ gl-vector-norm: gl-vector -> real-number
|
|||
|
||||
_sgl.ss_
|
||||
|
||||
Use the sgl.ss module by adding (require sgl) to your program. To prefix the
|
||||
function names with "gl-" use the form (require (prefix gl- sgl)) instead.
|
||||
The sgl.ss module provides a more Scheme-like interface to the GL functions in
|
||||
Use the sgl.ss module by adding (require sgl/sgl) to your program. To get it
|
||||
with all function names prefixed with "gl-" use (require sgl) (which is
|
||||
actually sgl/main, reproviding everything from sgl.ss with the prefix). Or you
|
||||
can also use (require (prefix <some-prefix> sgl/sgl)) directly instead. The
|
||||
sgl.ss module provides a more Scheme-like interface to the GL functions in
|
||||
gl.ss.
|
||||
|
||||
Functions in sgl.ss take symbols instead of integers for GLenum arguments.
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#lang scheme/base
|
||||
(require "sgl.ss")
|
||||
(require (prefix-in gl- "sgl.ss"))
|
||||
(provide (all-from-out "sgl.ss"))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang setup/infotab
|
||||
|
||||
;; no .zo compilation necessary, since all the real code is in C++
|
||||
(define compile-omit-files '("info.ss" "srpersist.ss"))
|
||||
(define compile-omit-files '("info.ss" "srpersist.ss" "main.ss"))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#lang scheme/base
|
||||
|
||||
(require "calltrace.ss")
|
||||
(provide (all-from-out "calltrace.ss"))
|
||||
(require "texpict.ss")
|
||||
(provide (all-from-out "texpict.ss"))
|
||||
|
|
Loading…
Reference in New Issue
Block a user