pub fn look_at3<V: Float>(dirn: &[V; 3], up: &[V; 3]) -> [V; 9]
Create a matrix that maps unit dirn to [0,0,-1] and unit up (perp to dirn) to [0,1,0]