… | |
… | |
39 | m.diffuse = colour (c1, c2, c3, c4); |
39 | m.diffuse = colour (c1, c2, c3, c4); |
40 | match_number (c1); match_space (); match_number (c2); match_space (); match_number (c3); match_space (); match_number (c4); match_nl (); |
40 | match_number (c1); match_space (); match_number (c2); match_space (); match_number (c3); match_space (); match_number (c4); match_nl (); |
41 | m.specular = colour (c1, c2, c3, c4); |
41 | m.specular = colour (c1, c2, c3, c4); |
42 | match_number (c1); match_space (); match_number (c2); match_space (); match_number (c3); match_space (); match_number (c4); match_nl (); |
42 | match_number (c1); match_space (); match_number (c2); match_space (); match_number (c3); match_space (); match_number (c4); match_nl (); |
43 | m.emission = colour (c1, c2, c3, c4); |
43 | m.emission = colour (c1, c2, c3, c4); |
|
|
44 | match_number (c1); match_nl (); |
|
|
45 | m.shininess = (GLfloat) c1; |
44 | |
46 | |
45 | match_section ('V', tmpn); |
47 | match_section ('V', tmpn); |
46 | if (tmpn <= 0) |
48 | if (tmpn <= 0) |
47 | throw txtprt_i_exception ("No Vertices?!"); |
49 | throw txtprt_i_exception ("No Vertices?!"); |
48 | |
50 | |