\/ Linear transformations
25
Vertices rotation transformation
26
Vertices 3->2 scaled by z
30
/\ Linear transformations
34
\/ Functions
35
Dot product of normals
36
l defines the direction of the "light source" using a unit vector. It is the second factor in each of these products.
37
38
each input vector is sx, sy, rz
39
normal of a tri = normalize(y-yhat of y onto v2), where y is (v1-v3 rotated around v2-v3)
40
41
Function Lib
42
52
powered by
powered by
New Blank Graph
Examples