/* * @File Created: 2022-11-26, 17:43:27 * @Last Modified: 2022-11-26, 18:50:24 * @Author: forty-twoo * @Copyright (c) 2022, Caiyue Li(li_caiyue@zju.edu.cn), All rights reserved. */ #ifndef NEWTON_H_ #define NEWTON_H_ #include "bvh.hpp" #include glm::vec3 newton_curve_curve(BVH_AABB_NodePtr boxPtr1, BVH_AABB_NodePtr boxPtr2, const double& eps, bool isConvergence); glm::vec3 newton_curve_surface(BVH_AABB_NodePtr boxPtr1, BVH_AABB_NodePtr boxPtr2, const double& eps, bool isConvergence); #endif