Skip to content

Commit

Permalink
Fix offset bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pleek91 committed Oct 18, 2023
1 parent f054b73 commit b4cde62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/factories/offsets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export async function offsetsFactory() {
function getTotalOffset(axis: number): number {
let value = 0

for (let index = 1; index < axis; index++) {
for (let index = 0; index < axis; index++) {
value += getOffset(index)
}

Expand Down

0 comments on commit b4cde62

Please sign in to comment.