File: tiny_obj_loader.cc

package info (click to toggle)
tinyobjloader 2.0.0~rc13%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,524 kB
  • sloc: cpp: 7,030; python: 120; sh: 57; makefile: 45
file content (9 lines) | stat: -rw-r--r-- 319 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
// Use double precision for better python integration.
// Need also define this in `binding.cc`(and all compilation units)
#define TINYOBJLOADER_USE_DOUBLE

// Use robust triangulation by using Mapbox earcut.
#define TINYOBJLOADER_USE_MAPBOX_EARCUT

#define TINYOBJLOADER_IMPLEMENTATION
#include "../tiny_obj_loader.h"