shz_xmtrx_init_lookat
SHZ_INLINE void shz_xmtrx_init_lookat(shz_vec3_t eye, shz_vec3_t center, shz_vec3_t up) SHZ_NOEXCEPT;Initializes XMTRX to a "lookAt" view matrix, equivalent to gluLookAt().
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
eye | shz_vec3_t | |
center | shz_vec3_t | |
up | shz_vec3_t |
Returns
Section titled “Returns”Nothing (void).
Warnings
Section titled “Warnings”- This routine clobbers any previous XMTRX contents.
Availability
Section titled “Availability”- C++ equivalent:
shz::xmtrx::init_lookat - Type-generic form: none
- Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_xmtrx.h:370 - Module: XMTRX, section "Initialization"