Method
CoglMatrixEntrycalculate_translation
Declaration [src]
gboolean
cogl_matrix_entry_calculate_translation (
CoglMatrixEntry* entry0,
CoglMatrixEntry* entry1,
float* x,
float* y,
float* z
)
Description [src]
Determines if the only difference between two transforms is a
translation and if so returns what the x, y, and z components of
the translation are.
If the difference between the two translations involves anything
other than a translation then the function returns FALSE.
Parameters
entry1-
Type:
CoglMatrixEntryA second reference transform.
The data is owned by the caller of the method. x-
Type:
float*The destination for the x-component of the translation.
The argument will be set by the function. y-
Type:
float*The destination for the y-component of the translation.
The argument will be set by the function. z-
Type:
float*The destination for the z-component of the translation.
The argument will be set by the function.