提交 4b6fd812 编写于 作者: R Ricardo Cabello

Merge pull request #6838 from fordacious/flipYfix

moved `flipY = false` to CubeTexture constructor
......@@ -43,10 +43,6 @@ THREE.ImageUtils = {
var texture = new THREE.CubeTexture( images, mapping );
// no flipping needed for cube textures
texture.flipY = false;
var loaded = 0;
var loadTexture = function ( i ) {
......
......@@ -10,6 +10,8 @@ THREE.CubeTexture = function ( images, mapping, wrapS, wrapT, magFilter, minFilt
this.images = images;
this.flipY = false;
};
THREE.CubeTexture.prototype = Object.create( THREE.Texture.prototype );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册