Commit 6ad708c9 authored by Ville Syrjälä's avatar Ville Syrjälä

lib/igt_matrix: Fix up some docs

Add some missing documentation.
Signed-off-by: Ville Syrjälä's avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
parent 55491b7d
Pipeline #23454 canceled with stages
......@@ -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.
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment