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
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
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
59dac6d418
Added ifdef for manage bigendianess of ppc machines
2007-05-11 08:21:45 +00:00
Massimiliano Corsini
bdd5b4f585
Fix signed/unsigned mismatch
2006-01-27 09:09:10 +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
a6b312715b
Changed Offset types to remove warnings
2005-11-12 07:07:47 +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
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
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