guLookAtStereoF
Creates a viewing matrix (floating point)
#include <ultra64.h> /* gu.h */
void guLookAtStereoF(
float mf[4][4],
float xEye,
float yEye,
float zEye,
float xAt,
float yAt,
float zAt,
float xUp,
float yUp,
float zUp,
float eyedist);
None
Returns a viewing matrix for stereographics to mf. Fixed point can be handled with the guLookAtStereo function.
Calling this function one time returns the matrix for one "eye," so you normally need to call this function twice, once for the "right eye" and once for the "left eye." Unlike guLookAt, with this function you need the distance from the viewpoint (xEye, yEye, zEye) to the lookat point (xAt, yAt, zAt). The lookat point must be specified as the focal point of both eyes.
03/01/99 Completely rewritten.