GLUQUADRICCALLBACK(3G)

πŸ“¦ version 1.1, in centos-stream 9, fedora 43, fedora 44

✨ NAME ✨

okay so bestie, meet gluQuadricCallback from the GLUQUADRICCALLBACK(3G) manual β€” its whole main character job is to define a callback for a quadrics object. that's the name, that's the vibe, periodt. πŸ’…


🌸 C SPECIFICATION 🌸

void gluQuadricCallback( GLUquadric* quad,
                         GLenum which,
                         _GLUfuncptr CallBackFunc )

πŸ’– PARAMETERS πŸ’–

  • quad β€” specifies the quadrics object (the one you created with gluNewQuadric). 🫢
  • which β€” specifies the callback being defined. the only valid value is GLU_ERROR. no other options, bestie.
  • CallBackFunc β€” specifies the function to be called. that's literally it.

πŸ¦‹ DESCRIPTION πŸ¦‹

gluQuadricCallback is used to define a new callback to be used by a quadrics object. if the specified callback is already defined, then it is replaced. if CallBackFunc is NULL, then any existing callback is erased. no cap, it just wipes it clean. πŸ’€

the one legal callback is GLU_ERROR:

  • GLU_ERROR β€” the function is called when an error is encountered. its single argument is of type GLenum, and it indicates the specific error that occurred. character strings describing these errors can be retrieved with the gluErrorString call. iykyk ✨

🌈 SEE ALSO 🌈

  • gluErrorString(3G)
  • gluNewQuadric(3G)

k bye bestie πŸ’œ this page's footer is GLUQUADRICCALLBACK(3G) β€” that's the source/version tag β€” and there's no date on it, so we're just living in the undated 3G era. mwah πŸŽ€

πŸ“¦ where this page comes from