Browse Source

modify some files

main
forty-twoo 2 years ago
parent
commit
16484bcfea
  1. 5
      include/bvh.hpp
  2. 9
      include/show_libigl.hpp

5
include/bvh.hpp

@ -1,9 +1,10 @@
/*
* @File Created: 2022-11-24, 20:13:58
* @Last Modified: 2022-11-26, 18:45:16
* @Last Modified: 2022-11-26, 18:50:38
* @Author: forty-twoo
* Copyright (c) 2022, Caiyue Li (li_caiyue@zju.edu.cn), All rights reserved.
* @Copyright (c) 2022, Caiyue Li(li_caiyue@zju.edu.cn), All rights reserved.
*/
#ifndef BVH_H_
#define BVH_H_

9
include/show_libigl.hpp

@ -1,3 +1,9 @@
/*
* @File Created: 2022-11-25, 14:55:48
* @Last Modified: 2022-11-26, 18:50:49
* @Author: forty-twoo
* @Copyright (c) 2022, Caiyue Li(li_caiyue@zju.edu.cn), All rights reserved.
*/
#ifndef SHOW_LIBIGL_H_
#define SHOW_LIBIGL_H_
@ -15,8 +21,7 @@ extern igl::opengl::glfw::Viewer viewer;
#define YELLOW Eigen ::RowVector3d(1, 1, 0)
#define PINK Eigen ::RowVector3d(0.8, 0.2, 0.6)
void ShowCurve_Igl(tinynurbs::RationalCurve<double> &curve, double sampleNum, Eigen::RowVector3d color)
void ShowSurface_Igl(tinynurbs::RationalSurface<double> &surface, double sampleNumU, double sampleNumV, Eigen::RowVector3d color);
void ShowCurve_Igl(tinynurbs::RationalCurve<double> &curve, double sampleNum, Eigen::RowVector3d color) void ShowSurface_Igl(tinynurbs::RationalSurface<double> &surface, double sampleNumU, double sampleNumV, Eigen::RowVector3d color);
void ShowBVHNode_Igl(BVH_AABB_NodePtr bvhNode, Eigen::RowVector3d color);
void ShowAABB_Igl(AABB bound, Eigen::RowVector3d color);

Loading…
Cancel
Save