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

SCM Repository

[sml3d] Diff of /src/common/sml3d-type-util-sig.sml
ViewVC logotype

Diff of /src/common/sml3d-type-util-sig.sml

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

revision 15, Sun Feb 17 05:03:30 2008 UTC revision 16, Mon Feb 18 17:38:18 2008 UTC
# Line 33  Line 33 
33      val unpackc3 : 'a rgb       -> ('a * 'a * 'a)      val unpackc3 : 'a rgb       -> ('a * 'a * 'a)
34      val unpackc4 : 'a rgba      -> ('a * 'a * 'a * 'a)      val unpackc4 : 'a rgba      -> ('a * 'a * 'a * 'a)
35    
36      (* iterators *)
37        fun mapv2 : ('a -> 'b) -> 'a vec2 -> 'b vec2
38        fun mapv3 : ('a -> 'b) -> 'a vec3 -> 'b vec3
39        fun mapv4 : ('a -> 'b) -> 'a vec4 -> 'b vec4
40    
41        fun mapt2 : ('a -> 'b) -> 'a tex2 -> 'b tex2
42        fun mapt3 : ('a -> 'b) -> 'a tex3 -> 'b tex3
43        fun mapt4 : ('a -> 'b) -> 'a tex4 -> 'b tex4
44    
45        fun mapc3 : ('a -> 'b) -> 'a rgb -> 'b rgb
46        fun mapc4 : ('a -> 'b) -> 'a rgba -> 'b rgba
47    
48        fun appv2 : ('a -> unit) -> 'a vec2 -> unit
49        fun appv3 : ('a -> unit) -> 'a vec3 -> unit
50        fun appv4 : ('a -> unit) -> 'a vec4 -> unit
51    
52        fun appt2 : ('a -> unit) -> 'a tex2 -> unit
53        fun appt3 : ('a -> unit) -> 'a tex3 -> unit
54        fun appt4 : ('a -> unit) -> 'a tex4 -> unit
55    
56        fun appc3 : ('a -> unit) -> 'a rgb -> unit
57        fun appc4 : ('a -> unit) -> 'a rgba -> unit
58    
59    end    end

Legend:
Removed from v.15  
changed lines
  Added in v.16

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