Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

get_transformation_matrix(3alleg4) [debian man page]

get_transformation_matrix(3alleg4)				  Allegro manual				get_transformation_matrix(3alleg4)

NAME
get_transformation_matrix - Constructs X, Y, Z rotation matrices with an angle and scaling. Allegro game programming library. SYNOPSIS
#include <allegro.h> void get_transformation_matrix(MATRIX *m, fixed scale, fixed xrot, yrot, zrot, x, y, z); DESCRIPTION
Constructs a transformation matrix which will rotate points around all three axes by the specified amounts (given in binary, 256 degrees to a circle format), scale the result by the specified amount (pass 1 for no change of scale), and then translate to the requested x, y, z position. SEE ALSO
apply_matrix(3alleg4), get_rotation_matrix(3alleg4), get_scaling_matrix(3alleg4), get_translation_matrix(3alleg4), ex3d(3alleg4), exs- tars(3alleg4) Allegro version 4.4.2 get_transformation_matrix(3alleg4)

Check Out this Related Man Page

get_rotation_matrix(3alleg4)					  Allegro manual				      get_rotation_matrix(3alleg4)

NAME
get_rotation_matrix, get_rotation_matrix_f - Constructs X, Y, Z rotation matrices. Allegro game programming library. SYNOPSIS
#include <allegro.h> void get_rotation_matrix(MATRIX *m, fixed x, fixed y, fixed z); void get_rotation_matrix_f(MATRIX_f *m, float x, float y, float z); DESCRIPTION
Constructs a transformation matrix which will rotate points around all three axes by the specified amounts (given in binary, 256 degrees to a circle format). The direction of rotation can simply be found out with the right-hand rule: Point the dumb of your right hand towards the origin along the axis of rotation, and the fingers will curl in the positive direction of rotation. E.g. if you rotate around the y axis, and look at the scene from above, a positive angle will rotate in clockwise direction. SEE ALSO
apply_matrix(3alleg4), get_transformation_matrix(3alleg4), get_vector_rotation_matrix(3alleg4), get_x_rotate_matrix(3alleg4), get_y_rotate_matrix(3alleg4), get_z_rotate_matrix(3alleg4), get_align_matrix(3alleg4), ex12bit(3alleg4), exquat(3alleg4), exstars(3alleg4) Allegro version 4.4.2 get_rotation_matrix(3alleg4)
Man Page

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

translate text (1 position) with sed

Hello, I'm trying to translate a fixed length (the first 6 positions) that begins with a 0 to overwrite the field with an *. Any suggestion? File 1 ------- 013344 01:20 222343 19:30 233333 20:30 File 2 (result) ----------------- ****** 01:20 222343 19:30 233333 20:30 (5 Replies)
Discussion started by: peterk
5 Replies

2. UNIX for Dummies Questions & Answers

Genomic data processing

Dear fellow members, I've just joined the forum and am a newbie to shell scripting and programming. I'm stuck on the following problem. I'm working with large scale genomic data and need to do some analyses on it. Essentially it is text processing problem, so please don't mind the scientific... (0 Replies)
Discussion started by: mvaishnav
0 Replies

3. Programming

Program Hangs

I have two programs, DriverScale.c and scale9.c. DriverScale.c calls scale 9.c which sends a W and a carraige return to the scale which SHOULD return the weight to DriverScale. However scale 9 hangs for at least 10 min, and then finally returns the weight. Compilation: ... (8 Replies)
Discussion started by: Meow613
8 Replies