Skip to content

Commit 773ad6d

Browse files
committed
Fixed misc_lookat example.
1 parent 563e460 commit 773ad6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/misc_lookat.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
scene.add( sphere );
6969

7070
var geometry = new THREE.CylinderGeometry( 0, 10, 100, 3 );
71-
geometry.applyMatrix( new THREE.Matrix4().makeRotationFromEuler( new THREE.Vector3( Math.PI / 2, Math.PI, 0 ) ) );
71+
geometry.applyMatrix( new THREE.Matrix4().makeRotationFromEuler( new THREE.Euler( Math.PI / 2, Math.PI, 0 ) ) );
7272

7373
var material = new THREE.MeshNormalMaterial();
7474

0 commit comments

Comments
 (0)