get_rotation_quat(3alleg)

get_rotation_quat3alleg

Constructs a quaternion to rotate points around all three axes. allegro game programming library.

Usage

#include <allegro.h>

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

Overview

Constructs a quaternion that will rotate points around all three axes by the specified amounts (given in binary, 256 degrees to a circle format).

Releases

4 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0

From liballegro-doc 2:4.2.2-2.2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.