Add profiling data
This commit is contained in:
parent
ce06a4b935
commit
cc6d3d621d
|
@ -262,6 +262,8 @@ void ContactSolver::initializeForIsland(Island* island) {
|
|||
/// the solution of the linear system
|
||||
void ContactSolver::warmStart() {
|
||||
|
||||
PROFILE("ContactSolver::warmStart()");
|
||||
|
||||
uint contactPointIndex = 0;
|
||||
|
||||
// For each constraint
|
||||
|
@ -578,6 +580,8 @@ void ContactSolver::solve() {
|
|||
// warm start the solver at the next iteration
|
||||
void ContactSolver::storeImpulses() {
|
||||
|
||||
PROFILE("ContactSolver::storeImpulses()");
|
||||
|
||||
uint contactPointIndex = 0;
|
||||
|
||||
// For each contact manifold
|
||||
|
@ -604,6 +608,8 @@ void ContactSolver::storeImpulses() {
|
|||
void ContactSolver::computeFrictionVectors(const Vector3& deltaVelocity,
|
||||
ContactManifoldSolver& contact) const {
|
||||
|
||||
PROFILE("ContactSolver::computeFrictionVectors()");
|
||||
|
||||
assert(contact.normal.length() > decimal(0.0));
|
||||
|
||||
// Compute the velocity difference vector in the tangential plane
|
||||
|
|
Loading…
Reference in New Issue
Block a user