dilevin / computer-graphics-csc317

Course Page for Computer Graphics course
125 stars 24 forks source link

Midterm Q1(c) #33

Open BobShoaun opened 11 months ago

BobShoaun commented 11 months ago

When it says "i is the row index" there are two ways to interpret this:

1) i is the index of a row (e.g. row 0, row 1, row 2, ...), so it is essentially the y-axis (assuming rows are horizontal (x-axis), and columns are vertical (y-axis)) 2) i is the index within a row (e.g. given row 1, we have 0, 1, 2, 3, ...), so it is the x-axis

Same applies for "j is the column index". Which one is the correct interpretation?

dilevin commented 11 months ago
  1. Is correct