@@ -1269,7 +1269,7 @@ public void rotateY(float angle) {
1269
1269
1270
1270
@ Override
1271
1271
public void rotateZ (float angle ) {
1272
- transform (angle , 0 , 0 , 1 );
1272
+ rotate (angle , 0 , 0 , 1 );
1273
1273
}
1274
1274
1275
1275
@@ -2545,6 +2545,8 @@ public int getVertexCodeCount() {
2545
2545
2546
2546
/**
2547
2547
* One of VERTEX, BEZIER_VERTEX, CURVE_VERTEX, or BREAK.
2548
+ * @param index
2549
+ * @return
2548
2550
*/
2549
2551
@ Override
2550
2552
public int getVertexCode (int index ) {
@@ -3979,14 +3981,14 @@ protected void initPolyBuffers() {
3979
3981
pgl .bufferData (PGL .ARRAY_BUFFER , sizef ,
3980
3982
tessGeo .polyShininessBuffer , glUsage );
3981
3983
3982
- for ( String name : polyAttribs .keySet ()) {
3984
+ polyAttribs .keySet (). forEach (( name ) -> {
3983
3985
VertexAttribute attrib = polyAttribs .get (name );
3984
3986
tessGeo .updateAttribBuffer (attrib .name );
3985
3987
if (!attrib .bufferCreated ()) attrib .createBuffer (pgl );
3986
3988
pgl .bindBuffer (PGL .ARRAY_BUFFER , attrib .buf .glId );
3987
3989
pgl .bufferData (PGL .ARRAY_BUFFER , attrib .sizeInBytes (size ),
3988
- tessGeo .polyAttribBuffers .get (name ), glUsage );
3989
- }
3990
+ tessGeo .polyAttribBuffers .get (name ), glUsage );
3991
+ });
3990
3992
3991
3993
pgl .bindBuffer (PGL .ARRAY_BUFFER , 0 );
3992
3994
0 commit comments