Skip to content

yasinxdxd/only_header_stl_loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ONLY_HEADER_STL_LOADER

It is easy to use, only header, *.stl file loader.

USAGE

  • #define STL_SHOW_ERRORS before include, if you don't want to check the error.
#include "stl_loader.h"

STL_HEADER stl_header;
STL_TRIANGLE* triangles;

if(!stl_load_from_file("../files/DeLorean.STL", stl_header, triangles))
{
    /*check error*/
}

/*...*/

/*free memory*/
stl_free(triangles);

Releases

No releases published

Packages

No packages published

Languages