Skip to content

Commit 26aaffc

Browse files
committed
fix typo in cameraposition -> camera cleaning
1 parent c88e8c2 commit 26aaffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plot_api/helpers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ exports.cleanLayout = function(layout) {
108108
eye = [];
109109

110110
for(j = 0; j < 3; ++j) {
111-
eye[j] = center[i] + radius * mat[2 + 4 * j];
111+
eye[j] = center[j] + radius * mat[2 + 4 * j];
112112
}
113113

114114
scene.camera = {

0 commit comments

Comments
 (0)