Skip to content

Commit

Permalink
Merge pull request #873 from actnwit/chore/comment
Browse files Browse the repository at this point in the history
chore: add a comment for byteStride of Accessor
  • Loading branch information
Yuki Shimada authored Sep 28, 2021
2 parents f2a5626 + a80e661 commit 36b1249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/foundation/memory/Accessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default class Accessor {
private __dataView?: DataView;
private __typedArray?: TypedArray;
private __takenCount: Count = 0;
private __byteStride: Byte = 0;
private __byteStride: Byte = 0; // Accessor has the byteStride. BufferView doesn't. For supporting glTF1, not only glTF2
private __typedArrayClass?: TypedArrayConstructor;
private __dataViewGetter: DataViewGetter;
private __dataViewSetter: DataViewSetter;
Expand Down

0 comments on commit 36b1249

Please sign in to comment.