diff options
-rw-r--r-- | lib/igt_matrix.c | 8 | ||||
-rw-r--r-- | lib/igt_matrix.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/igt_matrix.c b/lib/igt_matrix.c index 35a9c321..6ba59d47 100644 --- a/lib/igt_matrix.c +++ b/lib/igt_matrix.c @@ -71,6 +71,9 @@ struct igt_mat4 igt_matrix_identity(void) /** * igt_matrix_scale: + * @x: x scaling amount + * @y: y scaling amount + * @z: z scaling amount * * Returns: * An scaling matrix. @@ -89,6 +92,9 @@ struct igt_mat4 igt_matrix_scale(float x, float y, float z) /** * igt_matrix_translate: + * @x: x translation amount + * @y: y translation amount + * @z: z translation amount * * Returns: * A translation matrix. @@ -110,6 +116,8 @@ struct igt_mat4 igt_matrix_translate(float x, float y, float z) /** * igt_matrix_multiply: + * @a: Left matrix + * @b: Right matrix * * Multiply two matrices together. @a is on the left, * @b on the right. diff --git a/lib/igt_matrix.h b/lib/igt_matrix.h index 7a2b9ad8..a56170a2 100644 --- a/lib/igt_matrix.h +++ b/lib/igt_matrix.h @@ -55,6 +55,8 @@ struct igt_mat4 igt_matrix_multiply(const struct igt_mat4 *a, /** * igt_matrix_transform: + * @m: The matrix + * @v: The vector * * Transform the vector @v by the matrix @m. @m is on the left, * @v on the right. |