Query: apply_quat
OS: debian
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
apply_quat(3alleg4) Allegro manual apply_quat(3alleg4)NAMEapply_quat - Multiplies a point by a quaternion. Allegro game programming library.SYNOPSIS#include <allegro.h> void apply_quat(const QUAT *q, float x, y, z, *xout, *yout, *zout);DESCRIPTIONMultiplies the point (x, y, z) by the quaternion q, storing the result in (*xout, *yout, *zout). This is quite a bit slower than apply_matrix_f(), so only use it to translate a few points. If you have many points, it is much more efficient to call quat_to_matrix() and then use apply_matrix_f(). Allegro version 4.4.2 apply_quat(3alleg4)
Related Man Pages |
---|
persp_project(3alleg4) - debian |
persp_project_f(3alleg4) - debian |
persp_project_f(3alleg4) - netbsd |
persp_project(3alleg4) - redhat |
persp_project_f(3alleg4) - redhat |
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
awk or sed - Convert 2 lines to 1 line |
Is UNIX an open source OS ? |
Introduction |
One instance of comparing grep and awk |