Skip to content

Commit

Permalink
fix scale
Browse files Browse the repository at this point in the history
  • Loading branch information
xgui3783 committed Jan 9, 2024
1 parent ff43b00 commit 1ecb495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/store/nehubaStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ const nehubaStore = {
* apply scale
*/
const oldScale = mat4.getScaling(vec3.create(), cXform)
const newScale = vec3.copy(vec3.create(), oldScale)
const newScale = vec3.fromValues(1, 1, 1)

if (axis === "x") {
newScale[0] = value / oldScale[0]
Expand Down

0 comments on commit 1ecb495

Please sign in to comment.