Here's the point: IMHO, the "root" directory of the trunk is supposed to show demos, example, sample applications and official tools (JPGS generation, atm_gen.c, cam.c, ...)
If you think this code can fit in one of these categories, then let's add it to the trunk
To do so, here's what should be done IMHO:
- comment at the top of test_kmz.c should be changed
- comment at the top of collada_2_tri.php is missing (even a very simple one)
- the application should be a little more explicit about its role, using a short text at the top, or a title somewhere, ...
- needs error checking (giving a non-existing file shows no particular error, for instance. Same seems to apply when the file type is unknown.)
- C and PHP files should share the same name, so the user understand the link between the two files
- (remove GCC warning: ambiguous ‘else’ at line 43)
-
http://sketchup.google.com seems to provide mostly "skp" files. How should I do ?
I think you see my point: currently, this code is not easily usable to the user to be provided as a tool or a demo, so the two choices I see are :
- we see this as a "proof-of-concept", and plance it in the contrib dir.
- we upgrade this as a tool, polishing it and thinking about how the user will see it and use it.