Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
run: yarn
- name: check types
run: yarn types
- name: setup emsdk and build
run: cd emsdk && ./emsdk install 3.1.54 && ./emsdk activate 3.1.54 && source ./emsdk_env.sh && cd .. && yarn build
- name: build
run: yarn build
- name: deploy
uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ jobs:
run: yarn
- name: check types
run: yarn types
- name: typescript tests
- name: tests
run: yarn test
- name: c tests
run: cd demo-02-c-opengl && make test
- name: setup emsdk and build
run: cd emsdk && ./emsdk install 3.1.54 && ./emsdk activate 3.1.54 && source ./emsdk_env.sh && cd .. && yarn build
- name: build
run: yarn build
- name: deploy
uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "emsdk"]
path = emsdk
url = https://github.com/emscripten-core/emsdk.git
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
### tests

- for typescript tests: `yarn test`
- for c++: run `make test` from inside demo-02-cpp-opengl

### building c++

to work on the c++ code, some extra steps are required, consult the [readme for that](./demo-02-c-opengl/README.md)

## assets

Expand Down
2 changes: 1 addition & 1 deletion demo-01-ts-webgl/lib/BasicRenderProgram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ export function drawScene(
// const target: Vec3 = [0, 0, 0]; // or your scene's center
// const up: Vec3 = [0, 1, 0];
// const lightView = m4lookAt(lightPosition, target, up);
const lightProj = m4orthographic(-20, 20, -20, 20, 1, 100);
const lightProj = m4orthographic(-50, 50, -50, 50, 1, 100);
const lightViewProjectionMatrix = m4multiply(lightProj, lightView);

// 1. Render to shadow map
Expand Down
39 changes: 0 additions & 39 deletions demo-02-c-opengl/Makefile

This file was deleted.

16 changes: 0 additions & 16 deletions demo-02-c-opengl/README.md

This file was deleted.

Loading