gameplay/src/PhysicsCharacter.cpp
/*
 * Returns the portion of 'direction' that is parallel to 'normal'.
 */
Returns the portion of 'direction' that is parallel to 'normal'.
Returns the portion of ' direction ' that is parallel to ' normal ' .
static btVector3 parallelComponent(const btVector3& direction, const btVector3& normal)
{
    btScalar magnitude = direction.dot(normal);
    return normal * magnitude;
}
static btVector3 parallelComponent ( const btVector3 & direction , const btVector3 & normal ) { btScalar magnitude = direction . dot ( normal ) ; return normal * magnitude ; }
Returns the portion of 'direction' that is parallel to 'normal'.
Returns the portion of ' direction ' that is parallel to ' normal ' .