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 19, Mon Feb 18 17:47:01 2008 UTC revision 20, Mon Feb 18 18:20:34 2008 UTC
# Line 42  Line 42 
42      val unpackc4 : 'a rgba -> ('a * 'a * 'a * 'a)      val unpackc4 : 'a rgba -> ('a * 'a * 'a * 'a)
43    
44    (* iterators *)    (* iterators *)
45      fun mapv2 : ('a -> 'b) -> 'a vec2 -> 'b vec2      val mapv2 : ('a -> 'b) -> 'a vec2 -> 'b vec2
46      fun mapv3 : ('a -> 'b) -> 'a vec3 -> 'b vec3      val mapv3 : ('a -> 'b) -> 'a vec3 -> 'b vec3
47      fun mapv4 : ('a -> 'b) -> 'a vec4 -> 'b vec4      val mapv4 : ('a -> 'b) -> 'a vec4 -> 'b vec4
48    
49      fun mapt2 : ('a -> 'b) -> 'a tex2 -> 'b tex2      val mapt2 : ('a -> 'b) -> 'a tex2 -> 'b tex2
50      fun mapt3 : ('a -> 'b) -> 'a tex3 -> 'b tex3      val mapt3 : ('a -> 'b) -> 'a tex3 -> 'b tex3
51      fun mapt4 : ('a -> 'b) -> 'a tex4 -> 'b tex4      val mapt4 : ('a -> 'b) -> 'a tex4 -> 'b tex4
52    
53      fun mapc3 : ('a -> 'b) -> 'a rgb -> 'b rgb      val mapc3 : ('a -> 'b) -> 'a rgb -> 'b rgb
54      fun mapc4 : ('a -> 'b) -> 'a rgba -> 'b rgba      val mapc4 : ('a -> 'b) -> 'a rgba -> 'b rgba
55    
56      fun appv2 : ('a -> unit) -> 'a vec2 -> unit      val appv2 : ('a -> unit) -> 'a vec2 -> unit
57      fun appv3 : ('a -> unit) -> 'a vec3 -> unit      val appv3 : ('a -> unit) -> 'a vec3 -> unit
58      fun appv4 : ('a -> unit) -> 'a vec4 -> unit      val appv4 : ('a -> unit) -> 'a vec4 -> unit
59    
60      fun appt2 : ('a -> unit) -> 'a tex2 -> unit      val appt2 : ('a -> unit) -> 'a tex2 -> unit
61      fun appt3 : ('a -> unit) -> 'a tex3 -> unit      val appt3 : ('a -> unit) -> 'a tex3 -> unit
62      fun appt4 : ('a -> unit) -> 'a tex4 -> unit      val appt4 : ('a -> unit) -> 'a tex4 -> unit
63    
64      fun appc3 : ('a -> unit) -> 'a rgb -> unit      val appc3 : ('a -> unit) -> 'a rgb -> unit
65      fun appc4 : ('a -> unit) -> 'a rgba -> unit      val appc4 : ('a -> unit) -> 'a rgba -> unit
66    
67      (* string representations *)
68        val fmtv2 : ('a -> string) -> 'a vec2 -> string
69        val fmtv3 : ('a -> string) -> 'a vec3 -> string
70        val fmtv4 : ('a -> string) -> 'a vec4 -> string
71    
72        val fmtt2 : ('a -> string) -> 'a tex2 -> string
73        val fmtt3 : ('a -> string) -> 'a tex3 -> string
74        val fmtt4 : ('a -> string) -> 'a tex4 -> string
75    
76        val fmtc3 : ('a -> string) -> 'a rgb  -> string
77        val fmtc4 : ('a -> string) -> 'a rgba -> string
78    
79        val fmt2  : ('a -> string) -> ('a * 'a)           -> string
80        val fmt3  : ('a -> string) -> ('a * 'a * 'a)      -> string
81        val fmt4  : ('a -> string) -> ('a * 'a * 'a * 'a) -> string
82    
83    end    end

Legend:
Removed from v.19  
changed lines
  Added in v.20

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