Rechercher une page de manuel
matrix_to_quat.3alleg
Langue: en
Version: version 4.2.2 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
matrix_to_quat - Constructs a quaternion from a rotation matrix. Allegro game programming library.SYNOPSIS
#include <allegro.h>void matrix_to_quat(const MATRIX_f *m, QUAT *q);
DESCRIPTION
Constructs a quaternion from a rotation matrix. Translation is discarded during the conversion. Use get_align_matrix_f() if the matrix is not orthonormalized, because strange things may happen otherwise.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre