aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/RDGE/src/core/script/renderUtils.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/helper-classes/RDGE/src/core/script/renderUtils.js')
-rwxr-xr-xjs/helper-classes/RDGE/src/core/script/renderUtils.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/helper-classes/RDGE/src/core/script/renderUtils.js b/js/helper-classes/RDGE/src/core/script/renderUtils.js
index ed3b2cfa..a25b3dec 100755
--- a/js/helper-classes/RDGE/src/core/script/renderUtils.js
+++ b/js/helper-classes/RDGE/src/core/script/renderUtils.js
@@ -109,10 +109,10 @@ RDGE.renderUtils.createBox = function () {
109 return prim; 109 return prim;
110}; 110};
111 111
112// 112//
113// makeSphere 113// makeSphere
114// 114//
115// Create a sphere with the passed number of latitude and longitude bands and the passed radius. 115// Create a sphere with the passed number of latitude and longitude bands and the passed radius.
116// Sphere has vertices, normals and texCoords. Create VBOs for each as well as the index array. 116// Sphere has vertices, normals and texCoords. Create VBOs for each as well as the index array.
117// Return an object with the following properties: 117// Return an object with the following properties:
118// 118//
@@ -121,7 +121,7 @@ RDGE.renderUtils.createBox = function () {
121// vertexObject WebGLBuffer object for vertices 121// vertexObject WebGLBuffer object for vertices
122// indexObject WebGLBuffer object for indices 122// indexObject WebGLBuffer object for indices
123// numIndices The number of indices in the indexObject 123// numIndices The number of indices in the indexObject
124// 124//
125RDGE.renderUtils.makeSphere = function (ctx, radius, lats, longs) { 125RDGE.renderUtils.makeSphere = function (ctx, radius, lats, longs) {
126 var geometryData = []; 126 var geometryData = [];
127 var normalData = []; 127 var normalData = [];