Fix TexturesUV doc

Summary: Fix map size in the comment.

Reviewed By: gkioxari

Differential Revision: D23813431

fbshipit-source-id: e0777beadd7473014c1b79ad9f850d10f3549599
This commit is contained in:
Jeremy Reizenstein 2020-09-21 11:37:06 -07:00 committed by Facebook GitHub Bot
parent 197f1d6217
commit ea0e762c36

View File

@ -574,7 +574,7 @@ class TexturesUV(TexturesBase):
An example of how the indexing into the maps, with align_corners=True,
works is as follows.
If maps[i] has shape [101, 1001] and the value of verts_uvs[i][j]
If maps[i] has shape [1001, 101] and the value of verts_uvs[i][j]
is [0.4, 0.3], then a value of j in faces_uvs[i] means a vertex
whose color is given by maps[i][700, 40]. padding_mode affects what
happens if a value in verts_uvs is less than 0 or greater than 1.
@ -583,7 +583,7 @@ class TexturesUV(TexturesBase):
an _earlier_ index in maps.
If align_corners=False, an example would be as follows.
If maps[i] has shape [100, 1000] and the value of verts_uvs[i][j]
If maps[i] has shape [1000, 100] and the value of verts_uvs[i][j]
is [0.405, 0.2995], then a value of j in faces_uvs[i] means a vertex
whose color is given by maps[i][700, 40].
When align_corners=False, padding_mode even matters for values in