Home My Page Projects Code Snippets Project Openings 3D graphics for Standard ML
Summary Activity SCM

SCM Repository

[sml3d] Diff of /src/openal/al-sig.sml
ViewVC logotype

Diff of /src/openal/al-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 127, Wed May 21 18:46:01 2008 UTC revision 128, Tue May 27 14:19:08 2008 UTC
# Line 3  Line 3 
3   * COPYRIGHT (c) 2008 John Reppy (http://www.cs.uchicago.edu/~jhr)   * COPYRIGHT (c) 2008 John Reppy (http://www.cs.uchicago.edu/~jhr)
4   * All rights reserved.   * All rights reserved.
5   *   *
6   * An SML API for the OpenAL library.   * An SML API for the OpenAL library (Version 1.1).  See openal.org for
7     * documentation.
8   *)   *)
9    
10  signature AL =  signature AL =
# Line 18  Line 19 
19      type float = FP.float      type float = FP.float
20      type double = FP.double      type double = FP.double
21    
22      (*
23       * State retrieval
24       *)
25        val getVendorString : unit -> string
26        val getRendererString : unit -> string
27        val getVersionString : unit -> string
28        val getExtensionsString : unit -> string
29        val getExtensions : unit -> string list
30    
31      (*
32       * Global Parameters
33       *)
34        val dopplerFactor   : float -> unit
35        val dopplerVelocity : float -> unit
36        val speedOfSound    : float -> unit
37    
38      (* distance model *)
39        eqtype distance_model
40        val INVERSE_DISTANCE                : distance_model
41        val INVERSE_DISTANCE_CLAMPED        : distance_model
42        val LINEAR_DISTANCE                 : distance_model
43        val LINEAR_DISTANCE_CLAMPED         : distance_model
44        val EXPONENT_DISTANCE               : distance_model
45        val EXPONENT_DISTANCE_CLAMPED       : distance_model
46        val distanceModel : distance_model option -> unit
47    
48    end    end

Legend:
Removed from v.127  
changed lines
  Added in v.128

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0