Summary of Changes
This pull request adds an entry for Distances in the vbosName enum. The
new entry designates the buffer that contains the distance values for
vertices or facets. This change ensures that distances can be managed
consistently with other vertex data, such as coordinates, normals, and
colors.

Release Management
Affected package(s): GraphicsView (or any package dealing with vertex
buffer objects, depending on where this enum is used)
Issue(s) solved (if any):

I, Rachit Mehta, confirm that I have the right to submit this
contribution under CGAL's open-source license and that this contribution
abides by CGAL's policies.
This commit is contained in:
Laurent Rineau 2024-09-30 10:51:58 +02:00 committed by GitHub
commit 0f2efc7309
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ struct DEMO_FRAMEWORK_EXPORT Triangle_container :public Primitive_container
VColors, //!< Designates the buffer that contains the colors of the smooth vertices. VColors, //!< Designates the buffer that contains the colors of the smooth vertices.
FColors, //!< Designates the buffer that contains the colors of the flat vertices. FColors, //!< Designates the buffer that contains the colors of the flat vertices.
Texture_map, //!< Designates the buffer that contains the UV map for the texture. Texture_map, //!< Designates the buffer that contains the UV map for the texture.
Distances, Distances, //!< Designates the buffer that contains the distance values for vertices or facets
Subdomain_indices, //!< Designates the buffer that contains the subdomains of both cells defining a c3t3 facet. Subdomain_indices, //!< Designates the buffer that contains the subdomains of both cells defining a c3t3 facet.
NbOfVbos //!< Designates the size of the VBOs vector for `Triangle_container`s NbOfVbos //!< Designates the size of the VBOs vector for `Triangle_container`s
}; };