Skip to content

Commit

Permalink
restore defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
paolini committed Jan 26, 2025
1 parent d0826c3 commit 5af7fcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions js/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ if ($commands) {
$commands.innerHTML = commands.htmlHelpString()
}

commands.exec('L', world) // load lens
//commands.exec('0', world) // load pringle
commands.exec('0', world) // load pringle
document.addEventListener("keydown", evt => commands.exec(evt.key, world), false)


2 changes: 1 addition & 1 deletion js/src/world.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default class World {
this.$info = options.$info || null
this.$title = options.$title || null
const canvas = options.$canvas
this.AUTO_RUN = false
this.AUTO_RUN = true

this.scene = new THREE.Scene()
this.camera = new THREE.PerspectiveCamera(75, window.innerWidth/window.innerHeight, 0.1, 1000)
Expand Down

0 comments on commit 5af7fcf

Please sign in to comment.