Explorar o código

Fix sign error.

Felix Fontein %!s(int64=6) %!d(string=hai) anos
pai
achega
802ac6c3aa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/geometries/ExtrudeGeometry.js

+ 1 - 1
src/geometries/ExtrudeGeometry.js

@@ -429,7 +429,7 @@ function ExtrudeBufferGeometry( shapes, options ) {
 
 		}
 
-		bs = ( bevelSize < 0 ? 0 : - bevelSize );
+		bs = ( bevelSize < 0 ? 0 : bevelSize );
 
 		// Back facing vertices