From f2ac85c02f215dbd13e68eeb8753020c10e4b870 Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Sat, 11 Feb 2023 10:25:39 -0800 Subject: [PATCH] IndexedMesh: publicize another constructor --- .../com/jme3/bullet/collision/shapes/infos/IndexedMesh.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/jme3/bullet/collision/shapes/infos/IndexedMesh.java b/src/main/java/com/jme3/bullet/collision/shapes/infos/IndexedMesh.java index 0641992f5..9bf75c887 100644 --- a/src/main/java/com/jme3/bullet/collision/shapes/infos/IndexedMesh.java +++ b/src/main/java/com/jme3/bullet/collision/shapes/infos/IndexedMesh.java @@ -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 @@ -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();