Skip to content

Commit

Permalink
Test to big embedded
Browse files Browse the repository at this point in the history
  • Loading branch information
runeharlyk committed Mar 17, 2024
1 parent 589bdf4 commit f297df6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-restriction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
# defaults:
# run:
# working-directory: ./app
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
Expand Down
1 change: 1 addition & 0 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"vitest": "^1.3.1"
},
"dependencies": {
"cannon-es": "^0.20.0",
"nipplejs": "^0.10.1",
"prettier-plugin-svelte": "^3.2.1",
"svelte-routing": "^2.11.0",
Expand Down
7 changes: 7 additions & 0 deletions app/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions app/src/lib/sceneBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import { Sky } from 'three/addons/objects/Sky.js';
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls';
import { type URDFJoint, type URDFMimicJoint, type URDFRobot } from 'urdf-loader';
import { PointerURDFDragControls } from 'urdf-loader/src/URDFDragControls';
import { World } from 'cannon-es';

export const addScene = () => new Scene();

Expand Down Expand Up @@ -82,6 +83,7 @@ export default class SceneBuilder {
if (this.scene.environment?.mapping) {
this.scene.environment.mapping = EquirectangularReflectionMapping;
}
this.world = new World();
return this;
}

Expand Down

0 comments on commit f297df6

Please sign in to comment.