triangle
triangle copied to clipboard
This is a mirror of the latest stable version of Triangle.
The makefile has triangle.c but the code has triangle.cpp? Am I missing something?
This PR combine the other 6 PRs. * Modernize: build system * add a .gitignore for build system related files * remove ancient makefile (resolves issue compilation issue #6) *...
* Make sure all macros pass in all variables used (a `mesh*` type varaible (aka `m`) needs to be passed in for several) * Rewrite macros as always inlined functions...
The automatic formatting has made many of the printf() calls really screw up the appearance of the code. PR #10 fixes this by using raw string literals and automatic string...
There is a lot _very_ old coding conventions used that makes the triangle difficult to read. The worst offenders are: * the small C function declarations * use of `VOID`...
There is no option to build the `showme` program from `showme.c`. This is fixed by #14 .
* Move to cpp file * Replace small C function declarations standard declarations * Make showme buildable (for systems with X11) * Use raw string literals for usage string literals...
* Replace all instances of `NULL` with `nullptr` * Remove type casting of the null value.
Use "modern" (as of 1999) standards: * `void` instead of `VOID` (type standardization) * `intptr_t` instead of `INT_PTR` (type standardization) * Remove small C declarations (function declaration standardization) Note: support...
Update printf statements for printing pointers. * Replace `x%xl` with `%p` * Remove pointer casts to `(unsigned long)` Update string literals * Use string literal concatenation to make a series...