mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-19 13:09:06 +08:00

* 1. Remove all global include_directories. * 2. Move 3d party dependencies from src to budled deps if possible. * Unify and enforce one way of including headers: e.g. #include "libslic3r/GCode.hpp" vs #include "GCode.hpp" (always use the "libslic3r/GCode.hpp" option). * Make all dependencies (also header only) a cmake target.
22 lines
518 B
C++
22 lines
518 B
C++
#ifndef IGL_IS_STL_H
|
|
#define IGL_IS_STL_H
|
|
#include "igl_inline.h"
|
|
#include <cstdio>
|
|
namespace igl
|
|
{
|
|
// Given a file pointer, determine if it contains an .stl file and then
|
|
// rewind it.
|
|
//
|
|
// Inputs:
|
|
// stl_file pointer to file
|
|
// Outputs:
|
|
// is_ascii flag whether stl is ascii
|
|
// Returns whether stl_file is an .stl file
|
|
IGL_INLINE bool is_stl(FILE * stl_file, bool & is_ascii);
|
|
IGL_INLINE bool is_stl(FILE * stl_file);
|
|
};
|
|
#ifndef IGL_STATIC_LIBRARY
|
|
# include "is_stl.cpp"
|
|
#endif
|
|
#endif
|