using sqrt instead of sqrtf to conform to ANSI
fixed lambert
fixed camera perspective