Skip to content

Commit 8375bfc

Browse files
committed
Window opens with ANGLE
1 parent 3f36db5 commit 8375bfc

14 files changed

+2603
-10
lines changed

app/libEGL.dll

3.88 MB
Binary file not shown.

app/libGLESv2.dll

50.8 MB
Binary file not shown.

app/vulkan-1.dll

3.02 MB
Binary file not shown.

core/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ sourceSets{
3131
dependencies {
3232
implementation(libs.jogl)
3333
implementation(libs.gluegen)
34+
implementation(files("library/JavaANGLE.jar"))
35+
3436

3537
testImplementation(libs.junit)
38+
3639
}
3740

3841
mavenPublishing{

core/src/processing/core/PApplet.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11280,7 +11280,7 @@ public void curveVertex(float x, float y, float z) {
1128011280
* <br />
1128111281
* Using point() with strokeWeight(1) or smaller may draw nothing to the screen,
1128211282
* depending on the graphics settings of the computer. Workarounds include
11283-
* setting the pixel using <b>set()</s> or drawing the point using either
11283+
* setting the pixel using <b>set()</b> or drawing the point using either
1128411284
* <b>circle()</b> or <b>square()</b>.
1128511285
*
1128611286
* @webref shape:2d primitives
@@ -11921,8 +11921,8 @@ public float curvePoint(float a, float b, float c, float d, float t) {
1192111921

1192211922
/**
1192311923
* Calculates the tangent of a point on a curve. There's a good definition
11924-
* of <em><a href="http://en.wikipedia.org/wiki/Tangent"
11925-
* target="new">tangent</em> on Wikipedia</a>.
11924+
* of <a href="http://en.wikipedia.org/wiki/Tangent"
11925+
* target="new"><em>tangent</em> on Wikipedia</a>.
1192611926
*
1192711927
* <h3>Advanced</h3>
1192811928
* Code thanks to Dave Bollinger (Bug #715)
@@ -13598,7 +13598,7 @@ public float modelZ(float x, float y, float z) {
1359813598
* <br /><br />
1359913599
* The style information controlled by the following functions are included
1360013600
* in the style:
13601-
* <b>fill()<b>, <b>stroke()</b>, <b>tint()</b>, <b>strokeWeight()</b>, <b>strokeCap()</b>,<b>strokeJoin()</b>,
13601+
* <b>fill()</b>, <b>stroke()</b>, <b>tint()</b>, <b>strokeWeight()</b>, <b>strokeCap()</b>,<b>strokeJoin()</b>,
1360213602
* <b>imageMode()</b>, <b>rectMode()</b>, <b>ellipseMode()</b>, <b>shapeMode()</b>, <b>colorMode()</b>,
1360313603
* <b>textAlign()</b>, <b>textFont()</b>, <b>textMode()</b>, <b>textSize()</b>, <b>textLeading()</b>,
1360413604
* <b>emissive()</b>, <b>specular()</b>, <b>shininess()</b>, <b>ambient()</b>
@@ -13644,7 +13644,7 @@ public void style(PStyle s) {
1364413644
* <br />
1364513645
* Using point() with strokeWeight(1) or smaller may draw nothing to the screen,
1364613646
* depending on the graphics settings of the computer. Workarounds include
13647-
* setting the pixel using <b>set()</s> or drawing the point using either
13647+
* setting the pixel using <b>set()</b> or drawing the point using either
1364813648
* <b>circle()</b> or <b>square()</b>.
1364913649
*
1365013650
* @webref shape:attributes

core/src/processing/core/PConstants.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ public interface PConstants {
6161

6262
String P2D = "processing.opengl.PGraphics2D";
6363
String P3D = "processing.opengl.PGraphics3D";
64+
65+
String P3DANGLE = "processing.opengl.PGraphicsANGLE3D";
66+
String P2DANGLE = "processing.opengl.PGraphicsANGLE2D";
6467

6568
// When will it be time to remove this?
6669
@Deprecated

0 commit comments

Comments
 (0)