Commit Graph

18 Commits

Author SHA1 Message Date
Hugues Delorme
7f13b9248f stlb_read: remove typedef for function pointers, also simplify hookds 2014-01-29 11:32:47 +01:00
Hugues Delorme
e548e342b9 stl_format.c: fix case that would return FOUG_STL_ASCII_FORMAT instead of FOUG_STL_UNKNOWN_FORMAT 2014-01-29 11:29:55 +01:00
Hugues Delorme
59e5daf983 Major reorganization to improve performance 2014-01-28 19:06:24 +01:00
Hugues Delorme
dbe36c0eb1 libstl: add stl_format.h,c 2014-01-28 19:05:18 +01:00
Hugues Delorme
c11804fcea libstl: put all error codes in stl_error.h 2014-01-28 19:04:32 +01:00
Hugues Delorme
340ed4f117 ascii_parse: simplify cookie function 2014-01-27 22:57:10 +01:00
Hugues Delorme
6ae2de4985 Move convert.* into internal/ folder 2014-01-27 15:30:46 +01:00
Hugues Delorme
fb9985855a libstl: put ASCII text parsing into separated header/source files 2014-01-27 15:28:12 +01:00
Hugues Delorme
11d5668d4b Simplify cookie mechanism 2014-01-27 15:03:50 +01:00
Hugues Delorme
90f5f084f6 libstl: use strtof() if available (in stla_read.c)
strtof() is faster than strtod(), see:
http://www.gnu.org/software/libc/manual/html_node/Parsing-of-Floats.html
"(...) strtof can be substantially faster than strtod, but has less precision"

strtof() was added in C99 so BUILD_STRICT_C90 must be disabled to have any
chance to use it (MSVC does not provide strtof(), GCC does).
2014-01-23 17:30:23 +01:00
Hugues Delorme
5720614cdc libstl: use field instead of function pointer where possible 2014-01-22 19:17:19 +01:00
Hugues Delorme
6f7d8c4121 stlb: add define to control whether to use memcpy() or safe-align copy 2014-01-22 18:29:57 +01:00
Hugues Delorme
23587a905e Reorganize source files 2014-01-21 11:59:40 +01:00
Hugues Delorme
598c376eb4 Reorganize source code file structure
Inroduce c++ language folder
2013-01-08 00:21:50 +01:00
Hugues Delorme
075077b4e1 Enhance interface of AbstractTaskProgress
* Rename handleTaskProgress() to taskProgressEvent()
* Add task control features (asyncStop() + taskStopEvent())
2012-07-12 09:50:42 +02:00
Hugues Delorme
19b790f61e stlb: change namespaces to stlb and stla (were stl::bin / stl::asc) 2012-07-05 12:56:25 +02:00
Hugues Delorme
98176be41d libstl: add buffered reading of triangle data (binary format) 2012-02-28 20:32:00 +01:00
Hugues Delorme
6f7bfd31e6 Initial import 2012-02-28 20:27:32 +01:00