matrix
Functions
weston_matrix_init
void weston_matrix_init (struct weston_matrix * matrix)
Parameters:
matrix
–
Returns
(
void
)
–
No description available
weston_matrix_invert
int weston_matrix_invert (struct weston_matrix * inverse, const struct weston_matrix * matrix)
Parameters:
inverse
–
matrix
–
Returns
(
int
)
–
No description available
weston_matrix_multiply
void weston_matrix_multiply (struct weston_matrix * m, const struct weston_matrix * n)
Parameters:
m
–
n
–
Returns
(
void
)
–
No description available
weston_matrix_rotate_xy
void weston_matrix_rotate_xy (struct weston_matrix * matrix, float cos, float sin)
Parameters:
matrix
–
cos
–
sin
–
Returns
(
void
)
–
No description available
weston_matrix_scale
void weston_matrix_scale (struct weston_matrix * matrix, float x, float y, float z)
Parameters:
matrix
–
x
–
y
–
z
–
Returns
(
void
)
–
No description available
weston_matrix_transform
void weston_matrix_transform (struct weston_matrix * matrix, struct weston_vector * v)
Parameters:
matrix
–
v
–
Returns
(
void
)
–
No description available
weston_matrix_translate
void weston_matrix_translate (struct weston_matrix * matrix, float x, float y, float z)
Parameters:
matrix
–
x
–
y
–
z
–
Returns
(
void
)
–
No description available
Structures
weston_vector
struct weston_vector { float f[4]; };
Fields
f
(float [4] )
–
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)
–
WESTON_MATRIX_TRANSFORM_SCALE
(2)
–
WESTON_MATRIX_TRANSFORM_ROTATE
(4)
–
WESTON_MATRIX_TRANSFORM_OTHER
(8)
–
The results of the search are