Dot product on Vec3f.
Dot product on Vec2f.