Skip to content

Commit

Permalink
IndexedMesh: publicize another constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Feb 11, 2023
1 parent f83e7e1 commit f2ac85c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2022 jMonkeyEngine
* Copyright (c) 2019-2023 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -176,14 +176,13 @@ public IndexedMesh(FloatBuffer buffer) {

/**
* Instantiate an IndexedMesh based on the specified positions and indices.
* For internal use.
*
* @param positionBuffer (not null, not flipped, length a multiple of 3,
* alias created)
* @param indexBuffer (not null, not flipped, length a multiple of 3, alias
* created)
*/
IndexedMesh(FloatBuffer positionBuffer, IntBuffer indexBuffer) {
public IndexedMesh(FloatBuffer positionBuffer, IntBuffer indexBuffer) {
Validate.nonNull(positionBuffer, "position buffer");
Validate.nonNull(indexBuffer, "index buffer");
int numFloats = positionBuffer.capacity();
Expand Down

0 comments on commit f2ac85c

Please sign in to comment.