FreeBSD Manual Pages
apply_quat(3) Allegro manual apply_quat(3) NAME apply_quat - Multiplies a point by a quaternion. Allegro game program- ming library. SYNOPSIS #include <allegro.h> void apply_quat(const QUAT *q, float x, y, z, *xout, *yout, *zout); DESCRIPTION Multiplies the point (x, y, z) by the quaternion q, storing the result in (*xout, *yout, *zout). This is quite a bit slower than apply_ma- trix_f(), so only use it to translate a few points. If you have many points, it is much more efficient to call quat_to_matrix() and then use apply_matrix_f(). Allegro version 4.4.3 apply_quat(3)
NAME | SYNOPSIS | DESCRIPTION
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=apply_quat&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>