ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libgender/txtprt_import.C
(Generate patch)

Comparing libgender/txtprt_import.C (file contents):
Revision 1.1 by root, Sun Oct 3 02:19:07 2004 UTC vs.
Revision 1.2 by root, Sun Oct 3 02:38:33 2004 UTC

73 } 73 }
74 for (i = 0; i < tmpn; i++) { 74 for (i = 0; i < tmpn; i++) {
75 double a, b, c; 75 double a, b, c;
76 match_number (a); 76 match_number (a);
77 if (verts.size () < a) 77 if (verts.size () < a)
78 throw txtprt_i_exception ("Vertix a out of range!"); 78 throw txtprt_i_exception ("Vertex a out of range!");
79 match_space (); 79 match_space ();
80 match_number (b); 80 match_number (b);
81 if (verts.size () < b) 81 if (verts.size () < b)
82 throw txtprt_i_exception ("Vertix a out of range!"); 82 throw txtprt_i_exception ("Vertex b out of range!");
83 match_space (); 83 match_space ();
84 match_number (c); 84 match_number (c);
85 if (verts.size () < c) 85 if (verts.size () < c)
86 throw txtprt_i_exception ("Vertix a out of range!"); 86 throw txtprt_i_exception ("Vertex c out of range!");
87 match_nl (); 87 match_nl ();
88 entity_triangles *tri = new entity_triangles; 88 entity_triangles *tri = new entity_triangles;
89 tri->push_back (verts[(int)a]); 89 tri->push_back (verts[(int)a]);
90 tri->push_back (verts[(int)b]); 90 tri->push_back (verts[(int)b]);
91 tri->push_back (verts[(int)c]); 91 tri->push_back (verts[(int)c]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines