Main repository of MikuMikuStudio
Revision | 0515cf4cc6f903a0eddd29821144632a23fa9930 (tree) |
---|---|
Time | 2013-05-04 03:20:14 |
Author | remy.bouquet@gmail.com <remy.bouquet@gmai...> |
Commiter | remy.bouquet@gmail.com |
Fixed the number of components of the Line shape index buffer.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10589 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
@@ -73,7 +73,7 @@ public class Line extends Mesh { | ||
73 | 73 | setBuffer(Type.Normal, 3, new float[]{0, 0, 1, |
74 | 74 | 0, 0, 1}); |
75 | 75 | |
76 | - setBuffer(Type.Index, 3, new short[]{0, 1}); | |
76 | + setBuffer(Type.Index, 2, new short[]{0, 1}); | |
77 | 77 | |
78 | 78 | updateBound(); |
79 | 79 | } |