Explorar o código

Remove wrong return (void)

Alexandre Carvallo %!s(int64=7) %!d(string=hai) anos
pai
achega
392f17c007
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Mesh/babylon.vertexBuffer.ts

+ 1 - 1
src/Mesh/babylon.vertexBuffer.ts

@@ -238,7 +238,7 @@
          * @param useBytes set to true if the offset is in bytes
          */
         public updateDirectly(data: DataArray, offset: number, useBytes: boolean = false): void {
-            return this._buffer.updateDirectly(data, offset, undefined, useBytes);
+            this._buffer.updateDirectly(data, offset, undefined, useBytes);
         }
 
         /**