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

SCM Repository

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

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

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

revision 881, Sat May 8 16:37:02 2010 UTC revision 882, Sat May 8 17:16:05 2010 UTC
# Line 142  Line 142 
142          val velocity : source -> vec3f          val velocity : source -> vec3f
143          val setVelocity : (source * vec3f) -> unit          val setVelocity : (source * vec3f) -> unit
144    
145        (* position relative to listener? *)        (* is position relative to listener? *)
146          val relative : source -> bool          val relative : source -> bool
147          val setRelative : source * bool -> unit          val setRelative : source * bool -> unit
148    
# Line 159  Line 159 
159        end        end
160    
161      structure Listener : sig      structure Listener : sig
162          (* gain of listener for current context *)
163            val gain : unit -> float
164            val setGain : float -> unit
165    
166          (* listener position *)
167            val position : unit -> vec3f
168            val setPosition : vec3f -> unit
169    
170          (* listener velocity *)
171            val velocity : unit -> vec3f
172            val setVelocity : vec3f -> unit
173    
174          (* listener orientation *)
175            val orientation : unit -> {dir : vec3f, up : vec3f}
176            val setOrientation : {dir : vec3f, up : vec3f} -> unit
177        end        end
178    
179      structure Context : sig      structure Context : sig

Legend:
Removed from v.881  
changed lines
  Added in v.882

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