Skip to content

Commit

Permalink
add MESH_PARAMETERS for TRIANGLE_STRIP to make type="tristrips" work
Browse files Browse the repository at this point in the history
fixes #79
  • Loading branch information
j4yk committed Dec 3, 2014
1 parent 4ea0bbc commit aebba13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/gl/closures/meshclosure.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
MESH_PARAMETERS[WebGLRenderingContext.LINE_STRIP] = MESH_PARAMETERS[WebGLRenderingContext.TRIANGLES];
MESH_PARAMETERS[WebGLRenderingContext.LINES] = MESH_PARAMETERS[WebGLRenderingContext.TRIANGLES];
MESH_PARAMETERS[WebGLRenderingContext.POINTS] = MESH_PARAMETERS[WebGLRenderingContext.TRIANGLES];
MESH_PARAMETERS[WebGLRenderingContext.TRIANGLE_STRIP] = MESH_PARAMETERS[WebGLRenderingContext.TRIANGLES];


/**
Expand Down

0 comments on commit aebba13

Please sign in to comment.