qtranslate_matrix_f(3alleg4)

qtranslate_matrix_f3alleg4

Optimised routine for translating an already generated matrix. allegro game programming library.

Part of qtranslate_matrix(3alleg4).

Usage

#include <allegro.h>

void qtranslate_matrix(MATRIX *m, fixed x, fixed y, fixed z);

void qtranslate_matrix_f(MATRIX_f *m, float x, float y, float z);

Overview

Optimised routine for translating an already generated matrix: this simply adds in the translation offset, so there is no need to build two temporary matrices and then multiply them together.

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.