niessner / mLib

Research Library used in the Visual Computing Lab
http://niessnerlab.org
MIT License
89 stars 45 forks source link

Fix several compile and warning issues #6

Closed BachiLi closed 6 years ago

BachiLi commented 6 years ago

Fixed some small compile issues in material.h Silenced the signed v.s. unsigned comparison warnings in textWriter.h & uniformAccelerator.h Silenced the gcc warnings about friend declaration on non-templated function in baseImage.h Fixed gcc compile issues in distanceField3.h Fixed an indentation in grid3.cpp Fixed an undefined behavior in rng.h Fixed a compile issue in vec6.h (there's no "w") Fixed a compile issue in binaryDataStream.h (there is no "closeStream()" method) Fixed a compile issue in binaryDataStream.h (need to add the "typename" identifier) Fixed a compile issue in binaryDataBuffer.h (should be openmode instead of open_mode) Silenced a unused variable warning in utility.h