Răsfoiți Sursa

BufferGeometry: Clean up

Mugen87 8 ani în urmă
părinte
comite
1a3add316c
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/core/BufferGeometry.js

+ 1 - 1
src/core/BufferGeometry.js

@@ -826,7 +826,7 @@ Object.assign( BufferGeometry.prototype, EventDispatcher.prototype, {
 
 			n = 1.0 / Math.sqrt( x * x + y * y + z * z );
 
-			normals.setXYZ(i, x * n, y * n, z * n)
+			normals.setXYZ( i, x * n, y * n, z * n );
 
 		}