Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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