Lines Matching defs:medium
474 btSoftBody::sMedium medium;
476 EvaluateMedium(m_worldInfo, n.m_x, medium);
477 medium.m_velocity = windVelocity;
478 medium.m_density = m_worldInfo->air_density;
483 const btVector3 rel_v = n.m_v - medium.m_velocity;
501 fDrag = 0.5f * kDG * medium.m_density * rel_v2 * tri_area * n_dot_v * (-rel_v_nrm);
506 fLift = 0.5f * kLF * medium.m_density * rel_v_len * tri_area * btSqrt(1.0f-n_dot_v*n_dot_v) * (nrm.cross(rel_v_nrm).cross(rel_v_nrm));
534 const btScalar c1 = c0 * medium.m_density;
561 btSoftBody::sMedium medium;
565 EvaluateMedium(m_worldInfo,x,medium);
566 medium.m_velocity = windVelocity;
567 medium.m_density = m_worldInfo->air_density;
568 const btVector3 rel_v=v-medium.m_velocity;
587 fDrag = 0.5f * kDG * medium.m_density * rel_v2 * tri_area * n_dot_v * (-rel_v_nrm);
592 fLift = 0.5f * kLF * medium.m_density * rel_v_len * tri_area * btSqrt(1.0f-n_dot_v*n_dot_v) * (nrm.cross(rel_v_nrm).cross(rel_v_nrm));
629 const btScalar c1 = c0*medium.m_density;
2958 btSoftBody::sMedium medium;