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_vector_rotation_quat - Constructs a quaternion to rotate points around a vector. Allegro game

Description

       Constructs a quaternion that will rotate points around the specified x,y,z vector by the specified  angle
       (given in binary, 256 degrees to a circle format).

Allegro                                           version 4.4.3                get_vector_rotation_quat(3alleg4)

Name

       get_vector_rotation_quat  -  Constructs  a  quaternion  to  rotate  points  around a vector. Allegro game
       programming library.

Synopsis

#include<allegro.h>voidget_vector_rotation_quat(QUAT*q,floatx,y,z,floata);

See Also