Skip to content

Commit

Permalink
Mesh: whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jul 25, 2023
1 parent 3ec097a commit 91c2491
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/src/main/java/com/github/stephengold/vsport/Mesh.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ void fill(ByteBuffer destinationBuffer) {
boolean hasTexCoords = representativeVertex.hasTexCoords();
if (hasTexCoords) {
numBytes = vertexCount * 2 * Float.BYTES;
this.texCoordsBuffer
= new BufferResource(numBytes, usage, staging) {
this.texCoordsBuffer = new BufferResource(numBytes, usage, staging) {
@Override
void fill(ByteBuffer destinationBuffer) {
for (Vertex vertex : vertices) {
Expand Down

0 comments on commit 91c2491

Please sign in to comment.