aboutsummaryrefslogtreecommitdiff
path: root/js/lib/geom/rectangle.js
diff options
context:
space:
mode:
authorhwc4872012-04-19 13:39:54 -0700
committerhwc4872012-04-19 13:39:54 -0700
commitf13d0f45f6b449764898e99db309c43b51a33476 (patch)
tree9f5d713256ccaf4b5e33c1d041958bbd01483343 /js/lib/geom/rectangle.js
parent7d96e0778ed45e131cb5182ac93610ec3f545083 (diff)
downloadninja-f13d0f45f6b449764898e99db309c43b51a33476.tar.gz
chaned textures
Diffstat (limited to 'js/lib/geom/rectangle.js')
-rwxr-xr-xjs/lib/geom/rectangle.js2
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 )
1214RectangleGeometry.buildPrimitive = function() 1214RectangleGeometry.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