-
Notifications
You must be signed in to change notification settings - Fork 325
Add the possibility to load a scene from file #340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from all commits
992ed9a
ef524f4
2d80511
f6f4ade
57c5199
e280fc5
b311277
3ac12e0
b2a2c48
19f3795
80f1f12
a6d4356
408943e
2dfc83e
a17d21d
397dd22
617f31e
c150adb
06deecf
4226a46
6574304
b344a93
88400f7
cb4bd90
fc0b27b
d6735f5
19e9ccc
e60a5ed
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
em++ -std=c++11 sorter_no_simd.cpp -Os -s WASM=1 -s SIDE_MODULE=2 -o sorter_no_simd.wasm -s IMPORTED_MEMORY=1 -s SHARED_MEMORY=1 | ||
em++ -std=c++11 sorter_no_simd.cpp -Os -s WASM=1 -s SIDE_MODULE=2 -o sorter_no_simd.wasm -s IMPORTED_MEMORY=1 -s USE_PTHREADS=1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. was it some troubleshooting changes? is that needed? I would not touch this given the no_simd is likely a script for compatibility sake. Not sure tbh. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,8 @@ EXTERN EMSCRIPTEN_KEEPALIVE void sortIndexes(unsigned int* indexes, void* center | |
int maxDistance = -2147483640; | ||
int minDistance = 2147483640; | ||
|
||
if (distanceMapRange > sortCount) distanceMapRange = sortCount; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems like an unrelated change here. |
||
|
||
float fMVPTRow3[4]; | ||
unsigned int sortStart = renderCount - sortCount; | ||
if (useIntegerSort) { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,8 @@ EXTERN EMSCRIPTEN_KEEPALIVE void sortIndexes(unsigned int* indexes, void* center | |
int maxDistance = -2147483640; | ||
int minDistance = 2147483640; | ||
|
||
if (distanceMapRange > sortCount) distanceMapRange = sortCount; | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. here too. |
||
float fMVPTRow3[4]; | ||
int iMVPTRow3[4]; | ||
unsigned int sortStart = renderCount - sortCount; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm unsure of the possible side effect there, but this change at least obscures how the
onProgress
eventing functions, which already is not trivial to grasp.I even doubt this change is necessary.