Fix a small typo in chapter 24.6.1: Basic Line Segment Rasterization

This commit is contained in:
Yunchao He 2018-08-28 10:02:20 -06:00
parent dd9919749a
commit fe10c9647c
1 changed files with 1 additions and 1 deletions

View File

@ -770,7 +770,7 @@ t = {{( \mathbf{p}_r - \mathbf{p}_a ) \cdot ( \mathbf{p}_b - \mathbf{p}_a )}
\over {\| \mathbf{p}_b - \mathbf{p}_a \|^2 }} \over {\| \mathbf{p}_b - \mathbf{p}_a \|^2 }}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
(Note that [eq]#t = 0# at [eq]#**p**_a# and [eq]#t = 1# at [eq]#**p**~b~#. (Note that [eq]#t = 0# at [eq]#**p**~a~# and [eq]#t = 1# at [eq]#**p**~b~#.
Also note that this calculation projects the vector from [eq]#**p**~a~# to Also note that this calculation projects the vector from [eq]#**p**~a~# to
[eq]#**p**~r~# onto the line, and thus computes the normalized distance of [eq]#**p**~r~# onto the line, and thus computes the normalized distance of
the fragment along the line.) the fragment along the line.)