From 4e84f1c516231e7432bf3945469db2a2f242227d Mon Sep 17 00:00:00 2001 From: austin Date: Sun, 18 May 2025 22:51:37 -0400 Subject: [PATCH] more mesh class comments --- .../java/electrosphere/renderer/model/Mesh.java | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/main/java/electrosphere/renderer/model/Mesh.java b/src/main/java/electrosphere/renderer/model/Mesh.java index 0c3c159c..2f8ec92b 100644 --- a/src/main/java/electrosphere/renderer/model/Mesh.java +++ b/src/main/java/electrosphere/renderer/model/Mesh.java @@ -48,7 +48,6 @@ public class Mesh { */ private Model parent; - //various buffers that may or may not be allocated /** * Pointer to the vertex buffer */ @@ -95,9 +94,18 @@ public class Mesh { private boolean useElementArray = true; - //THIS IS NOT GUARANTEED TO BE THE PARENT MODEL THAT THIS WAS LOADED IN - //THIS CAN BE POST-LOAD SET IN MODEL VIA MODELMASK BEHAVIOR + /** + * The list of all bones in the mesh + *

+ * THIS IS NOT GUARANTEED TO BE THE PARENT MODEL THAT THIS WAS LOADED IN + * THIS CAN BE POST-LOAD SET IN MODEL VIA MODELMASK BEHAVIOR + *

+ */ private List bones = new ArrayList(); + + /** + * The list of bone names + */ private ArrayList boneIdList = new ArrayList(); /**