mirror of
https://github.com/processing/processing4.git
synced 2026-03-05 04:04:33 +01:00
Smaller displacement for lines (issue #1790)
This commit is contained in:
@@ -125,6 +125,10 @@ public class PGL {
|
||||
/** Minimum array size to use arrayCopy method(). **/
|
||||
protected static final int MIN_ARRAYCOPY_SIZE = 2;
|
||||
|
||||
/** Factor used to displace the stroke vertices towards the camera in
|
||||
* order to make sure the lines are always on top of the fill geometry **/
|
||||
protected static final float STROKE_DISPLACEMENT = 0.999f;
|
||||
|
||||
/** JOGL's windowing toolkit */
|
||||
// The two windowing toolkits available to use in JOGL:
|
||||
protected static final int AWT = 0; // http://jogamp.org/wiki/index.php/Using_JOGL_in_AWT_SWT_and_Swing
|
||||
|
||||
Reference in New Issue
Block a user