From fe10c9647c25a51ec9db7315db0a3b8cf722afae Mon Sep 17 00:00:00 2001 From: Yunchao He Date: Tue, 28 Aug 2018 10:02:20 -0600 Subject: [PATCH] Fix a small typo in chapter 24.6.1: Basic Line Segment Rasterization --- chapters/primsrast.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/primsrast.txt b/chapters/primsrast.txt index 4a4b8941..578ac8cf 100644 --- a/chapters/primsrast.txt +++ b/chapters/primsrast.txt @@ -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 }} ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -(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 [eq]#**p**~r~# onto the line, and thus computes the normalized distance of the fragment along the line.)