al - Audio Library Functions gDP - DP GBI Macros gdSP - General GBI Macros gSP - SP GBI Macros gt - Turbo Microcode RDP gu - Graphics Utilities Math - Math Functions nuSys - NuSystem os - N64 Operating System sp - Sprite Library Functions uh - Host to Target IO 64DD - N64 Disk Drive
|
gSPLookAtYFormat#include "gbi.h" typedef union { Light l[2]; } LookAt; gSPLookAt(Gfx *gdl, LookAt *l) gsSPLookAt(LookAt *l)Arguments
The gSPLookAt macro loads a LookAt structure into the light buffer of the RSP. This structure is required for specular highlighting or reflection mapping. Note that the gSPLookAtX and gSPLookAtY macros are not exposed to the application developer. Their use is embedded in the gSPLookAt macro. The LookAt structure can be set up with the utility macros guLookAtHilite and guLookAtReflect, or it can be set up directly with the gdSPDefLookAt macro. The LookAt structure contains colors (default value place holders) as well as x and y screen space coordinate directions. See Also guLookAtHilite guLookAtReflect gdSPDefLookAt
|