diff options
Diffstat (limited to 'linden/indra/llmath/llvolume.h')
-rw-r--r-- | linden/indra/llmath/llvolume.h | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/linden/indra/llmath/llvolume.h b/linden/indra/llmath/llvolume.h index c239685..5b48cfc 100644 --- a/linden/indra/llmath/llvolume.h +++ b/linden/indra/llmath/llvolume.h | |||
@@ -52,6 +52,7 @@ class LLVolume; | |||
52 | #include "llstrider.h" | 52 | #include "llstrider.h" |
53 | #include "v4coloru.h" | 53 | #include "v4coloru.h" |
54 | #include "llmemory.h" | 54 | #include "llmemory.h" |
55 | #include "llfile.h" | ||
55 | 56 | ||
56 | //============================================================================ | 57 | //============================================================================ |
57 | 58 | ||
@@ -229,8 +230,8 @@ public: | |||
229 | 230 | ||
230 | void copyParams(const LLProfileParams ¶ms); | 231 | void copyParams(const LLProfileParams ¶ms); |
231 | 232 | ||
232 | BOOL importFile(FILE *fp); | 233 | BOOL importFile(LLFILE *fp); |
233 | BOOL exportFile(FILE *fp) const; | 234 | BOOL exportFile(LLFILE *fp) const; |
234 | 235 | ||
235 | BOOL importLegacyStream(std::istream& input_stream); | 236 | BOOL importLegacyStream(std::istream& input_stream); |
236 | BOOL exportLegacyStream(std::ostream& output_stream) const; | 237 | BOOL exportLegacyStream(std::ostream& output_stream) const; |
@@ -354,8 +355,8 @@ public: | |||
354 | 355 | ||
355 | void copyParams(const LLPathParams ¶ms); | 356 | void copyParams(const LLPathParams ¶ms); |
356 | 357 | ||
357 | BOOL importFile(FILE *fp); | 358 | BOOL importFile(LLFILE *fp); |
358 | BOOL exportFile(FILE *fp) const; | 359 | BOOL exportFile(LLFILE *fp) const; |
359 | 360 | ||
360 | BOOL importLegacyStream(std::istream& input_stream); | 361 | BOOL importLegacyStream(std::istream& input_stream); |
361 | BOOL exportLegacyStream(std::ostream& output_stream) const; | 362 | BOOL exportLegacyStream(std::ostream& output_stream) const; |
@@ -545,8 +546,8 @@ public: | |||
545 | const LLPathParams &getPathParams() const {return mPathParams;} | 546 | const LLPathParams &getPathParams() const {return mPathParams;} |
546 | LLPathParams &getPathParams() {return mPathParams;} | 547 | LLPathParams &getPathParams() {return mPathParams;} |
547 | 548 | ||
548 | BOOL importFile(FILE *fp); | 549 | BOOL importFile(LLFILE *fp); |
549 | BOOL exportFile(FILE *fp) const; | 550 | BOOL exportFile(LLFILE *fp) const; |
550 | 551 | ||
551 | BOOL importLegacyStream(std::istream& input_stream); | 552 | BOOL importLegacyStream(std::istream& input_stream); |
552 | BOOL exportLegacyStream(std::ostream& output_stream) const; | 553 | BOOL exportLegacyStream(std::ostream& output_stream) const; |
@@ -760,7 +761,17 @@ public: | |||
760 | class LLVolumeFace | 761 | class LLVolumeFace |
761 | { | 762 | { |
762 | public: | 763 | public: |
763 | LLVolumeFace(); | 764 | LLVolumeFace() : |
765 | mID(0), | ||
766 | mTypeMask(0), | ||
767 | mHasBinormals(FALSE), | ||
768 | mBeginS(0), | ||
769 | mBeginT(0), | ||
770 | mNumS(0), | ||
771 | mNumT(0) | ||
772 | { | ||
773 | } | ||
774 | |||
764 | BOOL create(LLVolume* volume, BOOL partial_build = FALSE); | 775 | BOOL create(LLVolume* volume, BOOL partial_build = FALSE); |
765 | void createBinormals(); | 776 | void createBinormals(); |
766 | 777 | ||