Gregg Tavares 6 년 전
부모
커밋
08517478f0
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      threejs/lessons/threejs-optimize-lots-of-objects-animated.md
  2. 1 1
      threejs/threejs-lots-of-objects-morphtargets-w-colors.html

+ 1 - 1
threejs/lessons/threejs-optimize-lots-of-objects-animated.md

@@ -669,7 +669,7 @@ baseGeometry.morphAttributes.position = geometries.map((geometry, ndx) => {
   const attribute = geometry.getAttribute('position');
 -  const name = `target${ndx}`;
 +  // put the number in front so we can more easily parse it later
-+  const name = `${ndx}target$`;
++  const name = `${ndx}target`;
   attribute.name = name;
   return attribute;
 });

+ 1 - 1
threejs/threejs-lots-of-objects-morphtargets-w-colors.html

@@ -314,7 +314,7 @@ function main() {
     baseGeometry.morphAttributes.position = geometries.map((geometry, ndx) => {
       const attribute = geometry.getAttribute('position');
       // put the number in front so we can more easily parse it later
-      const name = `${ndx}target$`;
+      const name = `${ndx}target`;
       attribute.name = name;
       return attribute;
     });