소스 검색

Fixed the number of components of the Line shape index buffer.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10589 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
rem..om 12 년 전
부모
커밋
eb44d866b7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      engine/src/core/com/jme3/scene/shape/Line.java

+ 1 - 1
engine/src/core/com/jme3/scene/shape/Line.java

@@ -73,7 +73,7 @@ public class Line extends Mesh {
         setBuffer(Type.Normal, 3, new float[]{0, 0, 1,
                                               0, 0, 1});
 
-        setBuffer(Type.Index, 3, new short[]{0, 1});
+        setBuffer(Type.Index, 2, new short[]{0, 1});
 
         updateBound();
     }