Does word "snap" have the same meaning in the following two sentences?

Snap your fingers.

Bullets snapped past us.
different meanings