MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / quadricAdd

Function quadricAdd

Source/ThirdParty/meshoptimizer/simplifier.cpp:716–729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714}
715
716static void quadricAdd(Quadric& Q, const Quadric& R)
717{
718 Q.a00 += R.a00;
719 Q.a11 += R.a11;
720 Q.a22 += R.a22;
721 Q.a10 += R.a10;
722 Q.a20 += R.a20;
723 Q.a21 += R.a21;
724 Q.b0 += R.b0;
725 Q.b1 += R.b1;
726 Q.b2 += R.b2;
727 Q.c += R.c;
728 Q.w += R.w;
729}
730
731static void quadricAdd(QuadricGrad& G, const QuadricGrad& R)
732{

Callers 7

fillFaceQuadricsFunction · 0.85
fillVertexQuadricsFunction · 0.85
fillEdgeQuadricsFunction · 0.85
fillAttributeQuadricsFunction · 0.85
updateQuadricsFunction · 0.85
solvePositionsFunction · 0.85
fillCellQuadricsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected