Commit Graph

32 Commits

Author SHA1 Message Date
Paolo Cignoni 6ade8d7dfb In MinGW there's no strtok_r, nor strtok_s functions. strtok is the only one available (to my knowledge) 2011-06-14 14:25:45 +00:00
Paolo Cignoni 93c48b10a2 strtok_r does not exist in windows that instead has strtok_s
Added #define strtok_r strtok_s
2011-06-03 09:03:56 +00:00
Paolo Cignoni 609d3a7141 Removed useless static modifiers to local variables of ply utility functions 2011-06-03 08:35:01 +00:00
Marco Callieri 90c3924a77 changed the type of "header" in PlyFile from char [4096] to std::string to avoid buffer overrun on loading plys with veeery long comments 2011-02-21 11:04:55 +00:00
Paolo Cignoni 6befc46a59 corrected a bug that i introduced when i templated these functions 2009-10-29 17:20:13 +00:00
Paolo Cignoni df6f5b98ec completed the templating of the stuff for fast loading of bbox of ply 2009-10-28 08:24:56 +00:00
Paolo Cignoni 4568a67fb6 templated the stuff for fast loading of bbox of ply 2009-10-27 15:47:17 +00:00
Marco Di Benedetto 8a5ee57f9e removed some warnings. 2009-06-30 19:02:47 +00:00
Paolo Cignoni 3447c82e88 Removed a few harmless warnings 2009-03-30 20:58:18 +00:00
Paolo Cignoni a54582a3d2 Strings for element name and properties in ply descriptors should be const char *. 2008-11-27 23:54:50 +00:00
Paolo Cignoni ab71949274 Changed a line in a switch case in the void PlyFile::compile function
p->cb = cb_skip_list_bin8 
Thanks to Alain Boyer for the kind bug submission!
2008-06-29 22:32:09 +00:00
Paolo Cignoni e353664afc solved slash backslash issue in vcg_cache 2008-01-24 11:50:14 +00:00
Paolo Cignoni 2ffdf8f562 removed a possibly useless static kw 2007-06-25 15:24:00 +00:00
Paolo Cignoni 59dac6d418 Added ifdef for manage bigendianess of ppc machines 2007-05-11 08:21:45 +00:00
Paolo Cignoni 2754d4697d changes needed for compilation on linux 64b with gcc 3.4.5 2006-04-11 09:48:04 +00:00
Massimiliano Corsini bdd5b4f585 Fix signed/unsigned mismatch 2006-01-27 09:09:10 +00:00
Paolo Cignoni eb11ec57e0 Changed ply::PlyMask to io::Mask 2006-01-10 13:26:38 +00:00
Paolo Cignoni 7bd3c4601a Moved and corrected interpret_texture_name from plystuff.h to plylib.cpp 2005-12-02 00:00:53 +00:00
Paolo Cignoni 5e903fd16b added untested code of interpret_texture 2005-11-26 00:22:46 +00:00
Paolo Cignoni c5b331ff66 added prototype of interpret_texture_name 2005-11-26 00:12:25 +00:00
Paolo Cignoni a6b312715b Changed Offset types to remove warnings 2005-11-12 07:07:47 +00:00
Paolo Cignoni 4c1f6e73b6 removed small gcc compiling issues 2005-03-18 00:14:40 +00:00
Paolo Cignoni 903447e85a Cleaning of the automatic bbox caching support for ply files. First working version. 2005-03-15 11:46:52 +00:00
Paolo Cignoni 1e4b447859 Improved the compatibility for ply format for faces having the list size (e.g. number of vertexes of a face) as a char instead of a uchar.
Added a couple of new face descriptors, corrected a bug in error reporting function (and restructured) and translated a few comments.
Thanks to Patrick Min for the careful bug reporting
2005-01-03 10:35:59 +00:00
Paolo Cignoni ed7382539c Restructured management of error, now the standard open for any mesh type return the error code, the default success value is zero
Any import class has a method ErrorMsg that give a verbal description of an error code.
2004-06-23 15:36:57 +00:00
Federico Ponchio cca3ff2256 Moved #define LITTLE_MACHINE outside of #ifdef WIN32 (linux on PC is little too). 2004-06-23 00:06:45 +00:00
ganovelli 0a17f44c43 io_mask moved in vcg::ply namesp 2004-05-31 07:52:17 +00:00
ganovelli 61c7d41569 inclusion of io.h removed (unnecessary) 2004-05-12 17:21:08 +00:00
ganovelli e247c73b46 direct.h was included also without WIN32 definition 2004-05-12 10:13:29 +00:00
Paolo Cignoni 1394c0d9ef *** empty log message *** 2004-04-27 13:29:19 +00:00
Paolo Cignoni a04edac4db Commented out unused parameter names 2004-04-06 21:48:50 +00:00
Paolo Cignoni 3bd184ced5 Initial commit 2004-03-03 15:00:51 +00:00