logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

get_x_rotate_quat, get_y_rotate_quat, get_z_rotate_quat - Construct axis rotation quaternions. Allegro

Description

       Construct axis rotation quaternions, storing them in q. When applied to a point, these  quaternions  will
       rotate  it  about  the  relevant  axis  by  the specified angle (given in binary, 256 degrees to a circle
       format).

Allegro                                           version 4.4.3                       get_x_rotate_quat(3alleg4)

Name

       get_x_rotate_quat,  get_y_rotate_quat,  get_z_rotate_quat  - Construct axis rotation quaternions. Allegro
       game programming library.

Synopsis

#include<allegro.h>voidget_x_rotate_quat(QUAT*q,floatr);voidget_y_rotate_quat(QUAT*q,floatr);voidget_z_rotate_quat(QUAT*q,floatr);

See Also