Skip to content

Commit

Permalink
3dMath fix small thing
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Orangemoon authored Aug 19, 2023
1 parent fab2174 commit 772e51a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/obviousAlexC/3DMath.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
axis = Scratch.Cast.toNumber(axis);
vector = JSON.parse(vector);
if (vector) {
return JSON.parse(vector)[axis];
return vector[axis];
}
return 0;
}
Expand Down Expand Up @@ -393,7 +393,7 @@
axis = Scratch.Cast.toNumber(axis);
vector = JSON.parse(vector);
if (vector) {
return JSON.parse(vector)[axis];
return vector[axis];
}
return 0;
}
Expand Down

0 comments on commit 772e51a

Please sign in to comment.