get_vector_rotation_quat(3alleg4)

get_vector_rotation_quat3alleg4

Constructs a quaternion to rotate points around a vector. allegro game programming library.

Usage

#include <allegro.h>

void get_vector_rotation_quat(QUAT *q, float x, y, z, float a);

Overview

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).

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.