https://github.com/mlabbe/glutess
Rip of the GLU tesselator into a standalone static library.
https://github.com/mlabbe/glutess
Last synced: about 1 year ago
JSON representation
Rip of the GLU tesselator into a standalone static library.
- Host: GitHub
- URL: https://github.com/mlabbe/glutess
- Owner: mlabbe
- License: other
- Archived: true
- Created: 2014-07-25T20:54:08.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-25T20:57:49.000Z (almost 12 years ago)
- Last Synced: 2025-03-01T18:47:11.272Z (over 1 year ago)
- Language: C
- Size: 203 KB
- Stars: 23
- Watchers: 6
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libglutess #
This is a rip of the glu tesselator into a standalone library. It is a high quality tesselator with an implementation from over 20 years ago. It is still relevant today.
## Features ##
The features of the tesselator are covered elsewhere. This documentation simply covers this release.
* tested on Linux and Mac with GCC
* tested on Windows with Visual Studio 2012
* scons-based build system
* generates a static library
* supports debug and release builds on all platforms
## Compilation ##
scons arch=[x86,x86-64] debug=[0,1]
The output library's name has `_d` attached if it is a debug build, and `32` or `64` attached on non-fat binary platforms.
## Other Changes, Gotchas ##
* `glu.h` was renamed to `glutess.h` in order to be unambiguous in case you have a `glu.h` already in your include search path.
* Superficial code changes were made to `tessellate.c` in order to provide Visual C compatibility.
* `glutess.h` contains all of the glu functions, including ones that were pruned out. If you call one, it is a link error. `gluErrorString` may be one of these. If you go to the trouble of adding it back in, send a patch!
Michael Labbe