Initial release
Some checks failed
My Build All / build_windows (push) Has been cancelled
My Build All / build_linux_portable (push) Has been cancelled
My Build All / build_linux_appimage (push) Has been cancelled
My Build All / build_macos (push) Has been cancelled
My Build All / Publish release assets (push) Has been cancelled
Shellcheck / Shellcheck (push) Has been cancelled

This commit is contained in:
Louis Rossmann 2026-05-11 07:39:33 -05:00
commit c661ddc2eb
16967 changed files with 4075897 additions and 0 deletions

View file

@ -0,0 +1,21 @@
#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