Skip to content

Commit

Permalink
Update to libP5X 4.430.0 based on Processing 4.
Browse files Browse the repository at this point in the history
  • Loading branch information
neilcsmith-net committed Aug 22, 2024
1 parent 17c6010 commit e07d2b6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -575,17 +575,17 @@ public void setNormal(int index, double nx, double ny, double nz) {
shape.setNormal(index, (float)nx, (float)ny, (float)nz);
}

public void setAttrib(String name, int index, double... values) {
shape.setAttrib(name, index, doublesToFloats(values));
}

public void setAttrib(String name, int index, int... values) {
shape.setAttrib(name, index, values);
}

public void setAttrib(String name, int index, boolean... values) {
shape.setAttrib(name, index, values);
}
// public void setAttrib(String name, int index, double... values) {
// shape.setAttrib(name, index, doublesToFloats(values));
// }
//
// public void setAttrib(String name, int index, int... values) {
// shape.setAttrib(name, index, values);
// }
//
// public void setAttrib(String name, int index, boolean... values) {
// shape.setAttrib(name, index, values);
// }

public double getTextureU(int index) {
return shape.getTextureU(index);
Expand Down
2 changes: 1 addition & 1 deletion praxiscore-video-pgl-natives/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dependency>
<groupId>org.lwjgl</groupId>
<artifactId>lwjgl-bom</artifactId>
<version>3.3.2</version>
<version>3.3.4</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Expand Down
6 changes: 3 additions & 3 deletions praxiscore-video-pgl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dependency>
<groupId>org.lwjgl</groupId>
<artifactId>lwjgl-bom</artifactId>
<version>3.3.2</version>
<version>3.3.4</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Expand All @@ -36,12 +36,12 @@
<dependency>
<groupId>org.praxislive.libp5x</groupId>
<artifactId>processing-core</artifactId>
<version>0.353.0-beta-4</version>
<version>4.430.0</version>
</dependency>
<dependency>
<groupId>org.praxislive.libp5x</groupId>
<artifactId>processing-lwjgl</artifactId>
<version>0.353.0-beta-4</version>
<version>4.430.0</version>
</dependency>

<dependency>
Expand Down

0 comments on commit e07d2b6

Please sign in to comment.