commit 49facacc9e3231bce0050e470d4f0ccd9f509b31
parent b6e13fb7754787bbfce6ef220d4780c1e27b5e85
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Fri, 8 Feb 2019 11:11:53 +0100
Fix comments
Diffstat:
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/senc.h b/src/senc.h
@@ -294,7 +294,7 @@ senc_descriptor_ref_put
* case the 2 occurences of the triangle have reversed vertices order and
* unique_triangle_count and triangle_count differ.
* By-index API accesses of triangles (or properties) visit unique triangles
- * for indexes in the [0 unique_triangle_count[ range and back-faces of the
+ * for indices in the [0 unique_triangle_count[ range and back-faces of the
* doubly-listed triangles in the [unique_triangle_count triangle_count[ range.
******************************************************************************/
SENC_API res_T
diff --git a/src/senc_scene_analyze.c b/src/senc_scene_analyze.c
@@ -143,7 +143,7 @@ extract_connex_components
struct s3d_scene_view** s3d_view,
ATOMIC* component_count,
/* Shared error status.
- * We accept to overwritte an error with a different error */
+ * We accept to overwrite an error with a different error */
res_T* p_res)
{
/* This function is called from an omp parallel block and executed
@@ -537,7 +537,7 @@ group_connex_components
struct s3d_scene_view* s3d_view,
ATOMIC* next_enclosure_id,
/* Shared error status.
- * We accept to overwritte an error with a different error */
+ * We accept to overwrite an error with a different error */
res_T* res)
{
/* This function is called from an omp parallel block and executed
@@ -674,7 +674,7 @@ collect_and_link_neighbours
struct trgside* trgsides,
struct darray_triangle_tmp* triangles_tmp_array,
/* Shared error status.
- * We accept to overwritte an error with a different error */
+ * We accept to overwrite an error with a different error */
res_T* res)
{
/* This function is called from an omp parallel block and executed
@@ -929,7 +929,7 @@ build_result
const struct darray_ptr_component_descriptor* connex_components,
const struct darray_triangle_comp* triangles_comp_array,
/* Shared error status.
- * We accept to overwritte an error with a different error */
+ * We accept to overwrite an error with a different error */
res_T* res)
{
/* This function is called from an omp parallel block and executed
diff --git a/src/test_senc_scene.c b/src/test_senc_scene.c
@@ -206,7 +206,7 @@ main(int argc, char** argv)
CHK(senc_scene_add_geometry(scn, ntriangles, get_indices, get_media, NULL,
nvertices, get_position, &ctx) == RES_BAD_ARG);
- /* It is OK dd geometry after a failed add */
+ /* It is OK add geometry after a failed add */
ctx.back_media = medium1;
CHK(senc_scene_add_geometry(scn, ntriangles, get_indices, get_media, NULL,
nvertices, get_position, &ctx) == RES_OK);