Explorar o código

Fix multiple occurrences of the worldX attributes

Popov72 %!s(int64=4) %!d(string=hai) anos
pai
achega
605a5679f7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Meshes/linesMesh.ts

+ 1 - 1
src/Meshes/linesMesh.ts

@@ -79,7 +79,7 @@ export class LinesMesh extends Mesh {
 
         var defines: string[] = [];
         var options = {
-            attributes: [VertexBuffer.PositionKind, "world0", "world1", "world2", "world3"],
+            attributes: [VertexBuffer.PositionKind],
             uniforms: ["vClipPlane", "vClipPlane2", "vClipPlane3", "vClipPlane4", "vClipPlane5", "vClipPlane6", "world", "viewProjection"],
             needAlphaBlending: true,
             defines: defines