You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAIK, the function Manifold::SetProperties don't distinguish vertex shared by multiple triangles.
const int numTri = NumTri(); triProperties.resize(numTri); for (int i = 0; i < numTri; ++i) { for (const int j : {0, 1, 2}) { triProperties[i][j] = pImpl->halfedge_[3 * i + j].startVert; } }
Say I want a cube with sharp edges, so normal don't blend. How can I possibly do that?
The text was updated successfully, but these errors were encountered:
AFAIK, the function
Manifold::SetProperties
don't distinguish vertex shared by multiple triangles.const int numTri = NumTri(); triProperties.resize(numTri); for (int i = 0; i < numTri; ++i) { for (const int j : {0, 1, 2}) { triProperties[i][j] = pImpl->halfedge_[3 * i + j].startVert; } }
Say I want a cube with sharp edges, so normal don't blend. How can I possibly do that?
The text was updated successfully, but these errors were encountered: