Skip to content

Commit 5f5117a

Browse files
authored
Merge pull request #39 from t0gre/remove-c-completely
Remove c completely
2 parents 1cf99b8 + 48eb28e commit 5f5117a

48 files changed

Lines changed: 7 additions & 2992 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
run: yarn
1616
- name: check types
1717
run: yarn types
18-
- name: setup emsdk and build
19-
run: cd emsdk && ./emsdk install 3.1.54 && ./emsdk activate 3.1.54 && source ./emsdk_env.sh && cd .. && yarn build
18+
- name: build
19+
run: yarn build
2020
- name: deploy
2121
uses: FirebaseExtended/action-hosting-deploy@v0
2222
with:

.github/workflows/pull-request.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@ jobs:
1717
run: yarn
1818
- name: check types
1919
run: yarn types
20-
- name: typescript tests
20+
- name: tests
2121
run: yarn test
22-
- name: c tests
23-
run: cd demo-02-c-opengl && make test
24-
- name: setup emsdk and build
25-
run: cd emsdk && ./emsdk install 3.1.54 && ./emsdk activate 3.1.54 && source ./emsdk_env.sh && cd .. && yarn build
22+
- name: build
23+
run: yarn build
2624
- name: deploy
2725
uses: FirebaseExtended/action-hosting-deploy@v0
2826
with:

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "emsdk"]
2-
path = emsdk
3-
url = https://github.com/emscripten-core/emsdk.git

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
### tests
77

88
- for typescript tests: `yarn test`
9-
- for c++: run `make test` from inside demo-02-cpp-opengl
10-
11-
### building c++
12-
13-
to work on the c++ code, some extra steps are required, consult the [readme for that](./demo-02-c-opengl/README.md)
149

1510
## assets
1611

demo-01-ts-webgl/lib/BasicRenderProgram.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ export function drawScene(
455455
// const target: Vec3 = [0, 0, 0]; // or your scene's center
456456
// const up: Vec3 = [0, 1, 0];
457457
// const lightView = m4lookAt(lightPosition, target, up);
458-
const lightProj = m4orthographic(-20, 20, -20, 20, 1, 100);
458+
const lightProj = m4orthographic(-50, 50, -50, 50, 1, 100);
459459
const lightViewProjectionMatrix = m4multiply(lightProj, lightView);
460460

461461
// 1. Render to shadow map

demo-02-c-opengl/Makefile

Lines changed: 0 additions & 39 deletions
This file was deleted.

demo-02-c-opengl/README.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)