mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
adding support for textMode(SHAPE) and tessellation of fonts
This commit is contained in:
@@ -1482,9 +1482,12 @@ public class PGraphics3 extends PGraphics {
|
||||
|
||||
|
||||
/**
|
||||
* triangulate the current polygon.
|
||||
* simple ear clipping polygon triangulation adapted
|
||||
* from code by john w. ratcliff (jratcliff at verant.com)
|
||||
* Triangulate the current polygon.
|
||||
* <BR> <BR>
|
||||
* Simple ear clipping polygon triangulation adapted from code by
|
||||
* John W. Ratcliff (jratcliff at verant.com). Presumably
|
||||
* <A HREF="http://www.flipcode.org/cgi-bin/fcarticles.cgi?show=63943">this</A>
|
||||
* bit of code from the web.
|
||||
*/
|
||||
private void triangulate_polygon() {
|
||||
// first we check if the polygon goes clockwise or counterclockwise
|
||||
|
||||
Reference in New Issue
Block a user