logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

get_scaling_matrix, get_scaling_matrix_f - Constructs a scaling matrix. Allegro game programming library.

Description

       Constructs  a  scaling  matrix, storing it in m. When applied to the point (px, py, pz), this matrix will
       produce the point (px*x, py*y, pz*z). In other words, it stretches or shrinks things.

Name

       get_scaling_matrix, get_scaling_matrix_f - Constructs a scaling matrix. Allegro game programming library.

See Also

apply_matrix(3alleg4), get_transformation_matrix(3alleg4), qscale_matrix(3alleg4)

Allegro                                           version 4.4.3                      get_scaling_matrix(3alleg4)

Synopsis

#include<allegro.h>voidget_scaling_matrix(MATRIX*m,fixedx,fixedy,fixedz);voidget_scaling_matrix_f(MATRIX_f*m,floatx,floaty,floatz);

See Also