File: tiny_obj_loader.cc

package info (click to toggle)
tinyobjloader 2.0.0~rc10%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,344 kB
  • sloc: cpp: 6,865; python: 89; makefile: 42; sh: 31
file content (9 lines) | stat: -rw-r--r-- 319 bytes parent folder | download | duplicates (2)
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"