Skip to content

Commit

Permalink
Merge pull request #14 from flash1293/logfix2
Browse files Browse the repository at this point in the history
Fixed log-implementation for GLSL float packing
  • Loading branch information
VictorTaelin authored Oct 16, 2016
2 parents a30d93b + 98319cc commit d54086e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebMonkeys.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ load(this, function (exports) {
" if (m<0.0) s=1.0, m=-m;",
" for (int i=0; i<24; ++i){",
" if (m>=2.0) m=m/2.0, e+=1.0;",
" if (m< 1.0) m=m/2.0, e-=1.0;",
" if (m< 1.0) m=m*2.0, e-=1.0;",
" if (m>=1.0 && m<2.0) break;",
" };",
" return vec4(",
Expand Down

0 comments on commit d54086e

Please sign in to comment.