提交 088dfb91 编写于 作者: M Mr.doob

Fixed AxisHelper.

上级 408136b5
......@@ -9,8 +9,8 @@ THREE.AxisHelper = function ( size ) {
var geometry = new THREE.BufferGeometry();
geometry.addAttribute( 'position', new THREE.Float32Attribute( 6, 3 ) );
geometry.addAttribute( 'color', new THREE.Float32Attribute( 6, 3 ) );
geometry.addAttribute( 'position', new THREE.Float32Attribute( 6 * 3, 3 ) );
geometry.addAttribute( 'color', new THREE.Float32Attribute( 6 * 3, 3 ) );
var positions = geometry.attributes.position.array;
var colors = geometry.attributes.color.array;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册