Kaynağa Gözat

Bottom mapping ok from outside

rfm1201 9 yıl önce
ebeveyn
işleme
ee6d2900c0

+ 1 - 1
src/extras/geometries/CylinderBufferGeometry.js

@@ -273,7 +273,7 @@ THREE.CylinderBufferGeometry = function( radiusTop, radiusBottom, height, radial
 
 			// uv
 			uv.x = ( cosTheta * 0.5 ) + 0.5;
-			uv.y = ( sinTheta * 0.5 ) + 0.5;
+			uv.y = ( sinTheta * 0.5 * sign ) + 0.5;
 			uvs.setXY( index, uv.x, uv.y );
 
 			// increase index