MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / hasColors

Method hasColors

testbed/opengl-framework/src/Mesh.h:348–350  ·  view source on GitHub ↗

Return true if the mesh has vertex colors

Source from the content-addressed store, hash-verified

346
347// Return true if the mesh has vertex colors
348inline bool Mesh::hasColors() const {
349 return mColors.size() == mVertices.size();
350}
351
352// Return true if the mesh has UV texture coordinates
353inline bool Mesh::hasUVTextureCoordinates() const {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected