diff options
Diffstat (limited to 'js/lib/geom')
-rwxr-xr-x | js/lib/geom/rectangle.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/geom/rectangle.js b/js/lib/geom/rectangle.js index ef91d158..304b9c19 100755 --- a/js/lib/geom/rectangle.js +++ b/js/lib/geom/rectangle.js | |||
@@ -1214,7 +1214,7 @@ RectangleGeometry.addQuad = function( verts, normals, uvs ) | |||
1214 | RectangleGeometry.buildPrimitive = function() | 1214 | RectangleGeometry.buildPrimitive = function() |
1215 | { | 1215 | { |
1216 | var nVertices = this.vertices.length/3; | 1216 | var nVertices = this.vertices.length/3; |
1217 | return ShapePrimitive.create(this.vertices, this.normals, this.uvs, this.indices, g_Engine.getContext().renderer.TRIANGLES, nVertices); | 1217 | return ShapePrimitive.create(this.vertices, this.normals, this.uvs, this.indices, RDGE.globals.engine.getContext().renderer.TRIANGLES, nVertices); |
1218 | } | 1218 | } |
1219 | 1219 | ||
1220 | 1220 | ||