star-3d

Surface structuring for efficient 3D geometric queries
git clone git://git.meso-star.fr/star-3d.git
Log | Files | Refs | README | LICENSE

commit ef902cf2722f131033e139ca187f97e463b65a4b
parent b5293f78c39c1039430221697186fd781ea3bc55
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu,  8 Oct 2020 11:38:54 +0200

Fix comments

Diffstat:
Msrc/s3d.h | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/s3d.h b/src/s3d.h @@ -470,16 +470,16 @@ s3d_shape_flip_surface /******************************************************************************* * Primitive API - Define a geometric primitive of a shape ******************************************************************************/ -/* Retrieve the attribute of the shape primitive `iprim' at the barycentric +/* Retrieve the attribute of the shape primitive `prim' at the barycentric * coordinates `uv' */ S3D_API res_T s3d_primitive_get_attrib (const struct s3d_primitive* prim, const enum s3d_attrib_usage attr, /* Attribute to retrieve */ - const float st[2], /* Parametric coordinates of `attr' on `iprim' */ + const float st[2], /* Parametric coordinates of `attr' on `prim' */ struct s3d_attrib* attrib); /* Resulting attrib */ -/* Retrieve if the primitive `iprim' has the attribute `attr' */ +/* Retrieve if the primitive `prim' has the attribute `attr' */ S3D_API res_T s3d_primitive_has_attrib (const struct s3d_primitive* prim,