Skip to content

shz_xmtrx_lookat

Markdown
SHZ_INLINE void shz_xmtrx_lookat(shz_vec3_t eye, shz_vec3_t center, shz_vec3_t up) SHZ_NOEXCEPT;

Applies the 3D "lookAt" matrix constructed with the given vector components onto XMTRX. Equivalent to gluLookAt().

NameTypeDescription
eyeshz_vec3_t
centershz_vec3_t
upshz_vec3_t

Nothing (void).

  • C++ equivalent: shz::xmtrx::lookat
  • Type-generic form: none
  • Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
  • Defined in: sh4zam/shz_xmtrx.h:590
  • Module: XMTRX, section "Apply Operation"