Skip to content

Instantly share code, notes, and snippets.

View ryanfleury's full-sized avatar

Ryan Fleury ryanfleury

View GitHub Profile
@ryanfleury
ryanfleury / obj_parse.h
Last active October 5, 2021 22:59
Single-header OBJ Parser (WIP)
// ----------------------------------------------------------------------------
// Single Header Wavefront OBJ Parser, by Ryan Fleury
// ----------------------------------------------------------------------------
//
// This is a single-header Wavefront OBJ parsing library that is both C99+ and
// C++ compatible. There are two APIs that you can use. One of which is lower
// level and more shippable, and the other is high level and less shippable,
// but is nice to get things off the ground.
//
// To use this file, you must #define OBJ_PARSE_IMPLEMENTATION in at least ONE