struct MAGES::MeshDeformations::ResetCoMsJob¶
Overview¶
Reset the default values of the CoM, Covariance Matrix and Total Mass of the simulation mesh, before being recalculated. More…
struct ResetCoMsJob: public IJobParallelFor
{
// fields
NativeArray SimulationMeshTotalMass;
NativeArray SimulationMeshCoM;
NativeArray SimulationMeshCovarianceMatrix;
// methods
void Execute(int descIndex);
};
Detailed Documentation¶
Reset the default values of the CoM, Covariance Matrix and Total Mass of the simulation mesh, before being recalculated.
Fields¶
NativeArraySimulationMeshTotalMass
The total mass of each simulation mesh.
NativeArraySimulationMeshCoM
The center of mass of each simulation mesh.
NativeArraySimulationMeshCovarianceMatrix
The covariance matrix of each simulation mesh.