0
I'd like a little help here calculating the view matrix for opengl based on the lookat type function.
vec3f eye = {0, 0, 0};
vec3f center = {10, 2, 21};
vec3f up = {0, 1, 0};
mat4* vm;
mat4LookAt(vm, &eye, ¢er, &up);
mat4print("lookat",vm);
this code outputs this matrix below
...