quat_to_matrix(3) Constructs a rotation matrix from a quaternion. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

void quat_to_matrix(const QUAT *q, MATRIX_f *m);

DESCRIPTION

Constructs a rotation matrix from a quaternion.