code: public void update(final Ray3DFloat ray) {
          final Point3D origin = VecToPoint(ray.getOrigin());
          final Point3D direction = VecToPoint(ray.getDirection());
          final Point3D end = origin.add(direction.normalize().multiply(rayLength));
          super.setStartEndPoints(origin, end);
      }
docs: Updates the ray orientation and position to the specified data.
  
  @param ray Ray3DFloat object defining the placement data of the ray.