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

SCM Repository

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

Diff of /trunk/sml3d/src/particles/particles-sig.sml

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

revision 1105, Thu Mar 31 14:17:25 2011 UTC revision 1106, Thu Mar 31 15:17:40 2011 UTC
# Line 134  Line 134 
134    
135      val testBool : bool var -> condition      val testBool : bool var -> condition
136    
137    (* Returns the intersection between the two points and the domain. If you    (* Returns the intersection between a line segment and the domain. *)
    * use this function, you should check whether or not it exists by using  
    * the condition before using the point of intersection.  
    *)  
138      val intersect : {      val intersect : {
139              p1 : vec3f expr,              p1 : vec3f expr,
140              p2 : vec3f expr,              p2 : vec3f expr,
141              d : vec3f domain              d : vec3f domain
142            } -> {            } -> {
143              c : condition,              c : condition,      (* the intersection-test condition *)
144              pt : vec3f expr              pt : vec3f expr     (* the point of intersection (if it exists) *)
145            }            }
146    
147    (* Common boolean expressions *)    (* Common boolean expressions *)

Legend:
Removed from v.1105  
changed lines
  Added in v.1106

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