Mail Archives: djgpp/1998/04/24/06:16:58
Steve Patton writes:
>get_camera_matrix_f( &matrix, 0, 0, -10, 0, 0, 0,
> 0, 1, 0, 32, 1);
You are passing a zero front vector for your camera. Allegro doesn't
usually care what length this vector is, so there is no need to
normalise it, but zero is obviously a bad thing because it makes it
impossible to tell which direction the camera should be facing...
--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Pigs use it for a tambourine" - Frank Zappa
- Raw text -