important matrices:

gpu does this in low level code:

same as push, pop:

do basic matrix stuff on the cpu, not gpu.

constructor for 4x4 matrix:

it’s like a 2-d array:

index of refraction > 1.0 → how much slower the light travels in comparison to a vacuum.

point on plane:

cases: