Wiki
Clarifications for Angel's Interactive Computer Graphics

Chapter 4 (Worksheet 3)
Page last edited by Jeppe Revall Frisvad (jerf) 23/09-2020

In Sec. 4.11.2, the line for multiplying two matrices together is (obviously) missing a comma. It should have been

c = mult(a, b); // c = a * b

In Sec. 4.11.3, the lines for getting scaling and translation matrices should have been

var S = scalem(s_x, s_y, s_z);
var T = translate(t_x, t_y, t_z);


where (s_x, s_y, s_z) is a scaling vector and (t_x, t_y, t_z) is a translation vector.

Support: +45 45 25 74 43