mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
some errors ironed out from glmodel
This commit is contained in:
@@ -77,7 +77,7 @@ public interface GLConstants {
|
||||
public static final int NORMALS = 1;
|
||||
public static final int COLORS = 2;
|
||||
public static final int TEXTURES = 3;
|
||||
public static final int GROUPS = 3;
|
||||
public static final int GROUPS = 4;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -217,7 +217,7 @@ public class GLModel implements GLConstants, PConstants {
|
||||
throw new RuntimeException("GLModel: call beginUpdate()");
|
||||
}
|
||||
|
||||
if (lastUpdateIdx < firstUpdateIdx) return;
|
||||
if (updateElement != GROUPS && lastUpdateIdx < firstUpdateIdx) return;
|
||||
|
||||
if (updateElement == VERTICES) {
|
||||
if (updateVertexArray == null) {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package processing.android.core;
|
||||
|
||||
public class GLModelParameters implements GLConstants, PConstants {
|
||||
GLModelParameters() {
|
||||
public GLModelParameters() {
|
||||
updateMode = STATIC;
|
||||
drawMode= POINTS;
|
||||
}
|
||||
|
||||
GLModelParameters(GLModelParameters src) {
|
||||
public GLModelParameters(GLModelParameters src) {
|
||||
updateMode = src.updateMode;
|
||||
drawMode= src.drawMode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user