We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e1c32 commit 7f4a991Copy full SHA for 7f4a991
src/data/local_storage.js
@@ -147,7 +147,7 @@ function storage(p5, fn){
147
value = value.toString();
148
} else if (value instanceof p5.Vector) {
149
type = 'p5.Vector';
150
- const coord = [value.x, value.y, value.z];
+ const coord = value.values;
151
value = coord;
152
}
153
value = JSON.stringify(value);
0 commit comments