Skip to content

Commit

Permalink
Allow modifying the camera view property.
Browse files Browse the repository at this point in the history
This facilitates overriding the camera view.
  • Loading branch information
manthey committed Oct 30, 2018
1 parent 7c100bb commit 32e4d12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ var camera = function (spec) {
set: function (view) {
mat4.copy(this._view, view);
this._update();
}
},
configurable: true
});

/**
Expand Down

0 comments on commit 32e4d12

Please sign in to comment.