Skip to content

Commit

Permalink
Fix billboard flipping
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Apr 4, 2016
1 parent 432e6a6 commit 6d82829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/display/programSourceFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ var SceneJS_ProgramSourceFactory = new (function () {
// elements of the given matrix

add("void billboard(inout mat4 mat) {");
add(" mat[0][0] = -1.0;");
add(" mat[0][0] = 1.0;");
add(" mat[0][1] = 0.0;");
add(" mat[0][2] = 0.0;");
if (states.billboard.spherical) {
Expand Down

0 comments on commit 6d82829

Please sign in to comment.