Browse Source

Bottom mapping ok from outside

rfm1201 9 years ago
parent
commit
ee6d2900c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/extras/geometries/CylinderBufferGeometry.js

+ 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