Commit 47dace03 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

And again fixed some compiler problems.

parent 34f714df
...@@ -259,6 +259,8 @@ bool intersection_box_box_2d(double min_corner0[], double max_corner0[], ...@@ -259,6 +259,8 @@ bool intersection_box_box_2d(double min_corner0[], double max_corner0[],
if (point_in_box_2d(p, min_corner0, max_corner0)) if (point_in_box_2d(p, min_corner0, max_corner0))
return true; return true;
} }
return false;
} }
//----------------------------------------< intersection_triangle_box_2d > //----------------------------------------< intersection_triangle_box_2d >
...@@ -1288,6 +1290,8 @@ bool intersection_box_box_3d(double min_corner0[], double max_corner0[], ...@@ -1288,6 +1290,8 @@ bool intersection_box_box_3d(double min_corner0[], double max_corner0[],
if (point_in_box_3d(p, min_corner0, max_corner0)) if (point_in_box_3d(p, min_corner0, max_corner0))
return true; return true;
} }
return false;
} }
//----------------------------------------< intersection_triangle_box_3d > //----------------------------------------< intersection_triangle_box_3d >
......
namespace meshconv { namespace meshconv {
template<int dow> template<int dow>
void coordinate_transform(double x[], double shift[], double scale[], double alpha=0.0, double beta=0.0) void coordinate_transform(double x[], double shift[], double scale[], double alpha, double beta)
{ {
mtl::dense2D<double> Rx(dow,dow),Ry(dow,dow),T(dow,dow),S(dow,dow); mtl::dense2D<double> Rx(dow,dow),Ry(dow,dow),T(dow,dow),S(dow,dow);
Rx = 1.0; Rx = 1.0;
...@@ -38,4 +38,4 @@ namespace meshconv { ...@@ -38,4 +38,4 @@ namespace meshconv {
x[i] = coords[i]+shift[i]; x[i] = coords[i]+shift[i];
} }
} // end namespace meshconv } // end namespace meshconv
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment