Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,6 @@ function listinit(){
// $arr is now array(2, 4, 6, 8)
unset($value); // break the reference with the last element
?>
<li><a class='name'>Mike sucks</a></li>
<li><a class='name'>Oh man</a></li>
<li><a class='name'>Oh man</a></li>
<li><a class='name'>Oh man</a></li>
<li><a class='name'>Oh man</a></li>
<li><a class='name'>Oh man</a></li>
<li><a class='name'>Oh man</a></li>
<li><a class='name'>Oh man</a></li>
<li><a class='name'>Oh man</a></li>
<li><a class='name'>Hell boy</a></li>
</ul>
</div>
</div>
Expand Down
2 changes: 0 additions & 2 deletions viewer.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
</head>
<body>



<script>
var container, camera, scene, renderer;
var orbitControls;
Expand Down
13 changes: 1 addition & 12 deletions webgl.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,6 @@ function init() {
scene.background = new THREE.Color( 0x72645b );
scene.fog = new THREE.Fog( 0x72645b, 2, 15 );

// Ground
var plane = new THREE.Mesh(
new THREE.PlaneBufferGeometry( 40, 40 ),
new THREE.MeshPhongMaterial( { color: 0x999999, specular: 0x101010 } )
);
plane.rotation.x = -Math.PI/2;
plane.position.y = -0.5;
scene.add( plane );

plane.receiveShadow = true;


// ASCII file

var loader = new THREE.STLLoader();
Expand Down Expand Up @@ -134,6 +122,7 @@ function init() {

orbitControls = new THREE.OrbitControls(camera, renderer.domElement);
orbitControls.autoRotate = true;
orbitControl.screenSpacePanning = true;

window.addEventListener( 'resize', onWindowResize, false );

Expand Down