11/**
22 * The MIT License (MIT)
3- *
3+ *
44 * Copyright (c) 2015 Famous Industries Inc.
5- *
5+ *
66 * Permission is hereby granted, free of charge, to any person obtaining a copy
77 * of this software and associated documentation files (the "Software"), to deal
88 * in the Software without restriction, including without limitation the rights
99 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1010 * copies of the Software, and to permit persons to whom the Software is
1111 * furnished to do so, subject to the following conditions:
12- *
12+ *
1313 * The above copyright notice and this permission notice shall be included in
1414 * all copies or substantial portions of the Software.
15- *
15+ *
1616 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1717 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1818 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -36,7 +36,7 @@ var GeometryHelper = require('../GeometryHelper');
3636 *
3737 * @param {Object } options Parameters that alter the
3838 * vertex buffers of the generated geometry.
39- *
39+ *
4040 * @return {Object } constructed geometry
4141 */
4242function GeodesicSphere ( options ) {
@@ -69,7 +69,7 @@ function GeodesicSphere (options) {
6969 buffers : [
7070 { name : 'a_pos' , data : vertices } ,
7171 { name : 'a_texCoord' , data : textureCoords , size : 2 } ,
72- { name : 'a_normals ' , data : normals } ,
72+ { name : 'a_normal ' , data : normals } ,
7373 { name : 'indices' , data : indices , size : 1 }
7474 ]
7575 } ) ;
0 commit comments