var mirrorMatrix = new THREE.Matrix4();
mirrorMatrix.set(
3, 0, 0, 0, 0, 3, 0, 0, 0, 0, 3, 0, 20, 4, 2, 1
);
sphere.applyMatrix(mirrorMatrix);
scene.add(sphere);
console.log(sphere);
camera.position.x = -30;
camera.position.y = 40;
camera.position.z = 30;
camera.lookAt(scene.position);
document.getElementById("WebGL-output").appendChild(renderer.domElement);
renderer.render(scene, camera);
发现scale没有问题,但是坐标20,4,2不起作用,仍然在原点位置,这是为什么呢?谢谢
幕布斯7119047
相关分类