text: #include "vector_utils.hpp"
  
  namespace vector_utils
  {
  
  double DotProduct(Vector3D & first, Vector3D & second)
  {
      double x_component = first.getx()*second.getx();
      double y_component = first.gety()*second.gety();
      double z_component = first.getz()*second.getz();
  
      double dot_product = x_component + y_component + z_component;
  
      return dot_product;
  }
  
  Vector3D CrossProduct(Vector3D & first, Vector3D & second)
  {
      Vector3D result;
  
      double x_component = first.gety()*second.getz() - first.getz()*second.gety();
      double y_component = -(first.getx()*second.getz() - first.getz()*second.getx());
      double z_component = first.getx()*second.gety() - first.gety()*second.getx();
  
      result.setCoordinates(x_component, y_component, z_component);
  
      return result;
  }
  }