Browse Source

SkeletonViewer: Added comment to clarify meaning of hardcoded vertex indices.

Reimund Järnfors 4 năm trước cách đây
mục cha
commit
e66b1d8e4f
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/Debug/skeletonViewer.ts

+ 2 - 0
src/Debug/skeletonViewer.ts

@@ -673,6 +673,8 @@ export class SkeletonViewer {
                     for (let i = 0; i < numVertices; i++) {
                         mwk.push(1, 0, 0, 0);
 
+                        // Select verts at end of spur (ie vert 10 to 14) and bind to child
+                        // bone if spurFollowsChild is enabled.
                         if (displayOptions.spurFollowsChild && i > 9) {
                             mik.push(bc.getIndex(), 0, 0, 0);
                         }