matrix

Functions

weston_matrix_init

void 
weston_matrix_init (struct weston_matrix * matrix)

Parameters:

matrix
No description available
Returns ( void ) –
No description available

weston_matrix_invert

int 
weston_matrix_invert (struct weston_matrix * inverse,
                      const struct weston_matrix * matrix)

Parameters:

inverse
No description available
matrix
No description available
Returns ( int ) –
No description available

weston_matrix_multiply

void 
weston_matrix_multiply (struct weston_matrix * m,
                        const struct weston_matrix * n)

Parameters:

m
No description available
n
No description available
Returns ( void ) –
No description available

weston_matrix_rotate_xy

void 
weston_matrix_rotate_xy (struct weston_matrix * matrix,
                         float  cos,
                         float  sin)

Parameters:

matrix
No description available
cos
No description available
sin
No description available
Returns ( void ) –
No description available

weston_matrix_scale

void 
weston_matrix_scale (struct weston_matrix * matrix,
                     float  x,
                     float  y,
                     float  z)

Parameters:

matrix
No description available
x
No description available
y
No description available
z
No description available
Returns ( void ) –
No description available

weston_matrix_transform

void 
weston_matrix_transform (struct weston_matrix * matrix,
                         struct weston_vector * v)

Parameters:

matrix
No description available
v
No description available
Returns ( void ) –
No description available

weston_matrix_translate

void 
weston_matrix_translate (struct weston_matrix * matrix,
                         float  x,
                         float  y,
                         float  z)

Parameters:

matrix
No description available
x
No description available
y
No description available
z
No description available
Returns ( void ) –
No description available

Structures

weston_vector

struct weston_vector {
	float f[4];
};

Fields

f (float [4] ) –
No description available

Enumerations

weston_matrix_transform_type

enum weston_matrix_transform_type {
	WESTON_MATRIX_TRANSFORM_TRANSLATE	= (1 << 0),
	WESTON_MATRIX_TRANSFORM_SCALE		= (1 << 1),
	WESTON_MATRIX_TRANSFORM_ROTATE		= (1 << 2),
	WESTON_MATRIX_TRANSFORM_OTHER		= (1 << 3),
};

Members

WESTON_MATRIX_TRANSFORM_TRANSLATE (1) –
No description available
WESTON_MATRIX_TRANSFORM_SCALE (2) –
No description available
WESTON_MATRIX_TRANSFORM_ROTATE (4) –
No description available
WESTON_MATRIX_TRANSFORM_OTHER (8) –
No description available

The results of the search are