aboutsummaryrefslogtreecommitdiffstats
path: root/service/src/stlfile.h
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2021-04-29 18:37:03 +0200
committerLouis Burda <quent.burda@gmail.com>2021-04-29 18:37:20 +0200
commit80b190c66dab551b75db790df86efaffe0f86671 (patch)
tree902a6d7f573c0970ebd7790e4f8a673c8741dbef /service/src/stlfile.h
parenta50aacd30adb87698eb775ef5c7615c65e57a11d (diff)
downloadenowars5-service-stldoctor-80b190c66dab551b75db790df86efaffe0f86671.tar.gz
enowars5-service-stldoctor-80b190c66dab551b75db790df86efaffe0f86671.zip
fixed Makefile and extended ascii parsing structure
Diffstat (limited to 'service/src/stlfile.h')
-rw-r--r--service/src/stlfile.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/service/src/stlfile.h b/service/src/stlfile.h
index 00cf28d..25f2211 100644
--- a/service/src/stlfile.h
+++ b/service/src/stlfile.h
@@ -7,14 +7,23 @@
#include <endian.h>
enum {
+ KW_UNKNOWN,
KW_SOLID_BEGIN,
KW_SOLID_END,
- KW_FACET,
- KW_OUTER,
+ KW_FACET_BEGIN,
+ KW_FACET_END,
+ KW_LOOP_BEGIN,
+ KW_LOOP_END,
KW_VERTEX
};
enum {
+ STATE_SOLID,
+ STATE_FACET,
+ STATE_LOOP
+};
+
+enum {
TYPE_ASCII,
TYPE_BIN
};