errata.graphicsgemsv

来自「图形图像编程方面的精粹系列.Graphic.Gems.Series 中的gem5」· GRAPHICSGEMSV 代码 · 共 68 行

GRAPHICSGEMSV
68
字号
Errata to _Graphics Gems V_, first edition, edited by Alan Paeth(awpaeth@okanagan.bc.ca), Academic Press 1995.  Code available online inftp://princeton.edu/pub/Graphics/GraphicsGems/GemsV.compiled by Eric Haines (erich@eye.com) from author and reader contributionsversion 1.1date:  3/1/96-----Errors in the text:The following proof changes might not appear in the book's 1st printing butare correct on the floppy disk and FTP mirror versions:p. 85, bottom (code line) now reads:                 ...    if ((t = a - b) < 0) {a -= t; b += t; } }                                 ^   ^          ^       ^      ('a','b' and '+','-' were transposed)p. 86, top (code):	...  + 16*d)/ ...	       ^^ replaces the ' 4' presently therep. 323 - no cedilla in "Francois" in author's name (cp. p 405, bottom)p. 394 - Atul Narkhede's email address is now atul@yamuna.asd.sgi.com-----The following are errors in the book's code listings (corrected in the onlinecode at princeton.edu:pub/Graphics/GraphicsGems/GemsV).  Note that some of thecode listings online are different in minor and major ways from the code inthe book.Serious errors (ones your compiler cannot or may not catch):ch3-6/axd.* - these files have been reworked to correctly match the macro	library that they use.ch4-8/qbezier.c - line 76, change "if (k = 0)" to "if (k == 0)".ch7-5/misc.c - if you do not have the log2() function in your compiler, use:	#define log2(x) (log((double)x)/log(2.0))-----Syntax errors (ones that are not usually harmful, or are easily caught):There are various "lint" type errors in the text's and diskette's code whichhave been cleaned up in the FTP distribution.  The only serious changes wereto the axd.c code in ch3-6, as the code was out of sync with the macros itused from ch7-7/mactbox.  The corrected code is in the FTP distribution.-----The following are typographical errors in the comments:[none so far]-----END

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?