Subtracting 1 to achieve matching array length #358
Answered
by
steam0r
monolithMktg
asked this question in
Answers & Questions
-
I was watching this tutorial on Texture2ColorArray Op, and towards 8:20 in the video, Andro subtracts 1 from number of rows and columns on the rectangle to match the array length of the Texture2ColorArray length. Why was this required? Why was one row and column acting as extra? |
Beta Was this translation helpful? Give feedback.
Answered by
steam0r
Sep 26, 2022
Replies: 1 comment 1 reply
-
0-based vs. 1-based counting |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
monolithMktg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
0-based vs. 1-based counting