Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Amanda Ghassaei
AMOEBA
Commits
c38c7995
Commit
c38c7995
authored
Jul 09, 2016
by
amandaghassaei
Browse files
simplified K and D storage
parent
d89e2a3e
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
js/simulation/function/EM/emSimLattice.js
View file @
c38c7995
This diff is collapsed.
Click to expand it.
js/simulation/function/EM/shaders/velocityCalcShader.js
View file @
c38c7995
...
...
@@ -218,6 +218,9 @@ void main(){
vec3
neighborsXMapping
=
texture2D
(
u_neighborsXMapping
,
mappingIndex
).
xyz
;
vec3
neighborsYMapping
=
texture2D
(
u_neighborsYMapping
,
mappingIndex
).
xyz
;
vec3
longitudalK
=
texture2D
(
u_compositeKs
,
mappingIndex
).
xyz
;
vec3
shearK1
=
vec3
(
10
,
10
,
10
);
vec3
shearK2
=
vec3
(
10
,
10
,
10
);
vec3
longitudalD
=
texture2D
(
u_compositeDs
,
mappingIndex
).
xyz
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment