Skip to content
Snippets Groups Projects
Commit 113ce0a8 authored by Ricardo Ortiz's avatar Ricardo Ortiz
Browse files

ENH Fix windows compilation issues.

parent a417bb11
No related branches found
No related tags found
No related merge requests found
......@@ -378,7 +378,7 @@ void SurfaceTree<CellType>::translateRot()
template<typename CellType>
void SurfaceTree<CellType>::getIntersectingNodes(const std::shared_ptr<CellType> left,
const std::shared_ptr<CellType> right,
std::vector<SurfaceTree<CellType>::CellPairType> &result)
std::vector<CellPairType> &result)
{
if(left->getAabb().intersection(right->getAabb()).isEmpty())
{
......
......@@ -754,7 +754,7 @@ inline int tri_tri_intersect_with_isectline(double V0[3],double V1[3],double V2[
double b,c,max;
int smallest1,smallest2;
//tansel
double temp;
double temp = 0.0;
//end tansel
/* compute plane equation of triangle(V0,V1,V2) */
......
......@@ -43,7 +43,7 @@ target_link_libraries(IO
VegaFEM::volumetricMesh
)
target_compile_options(IO PRIVATE $<$<CXX_COMPILER_ID:GNU>:-Wno-sign-compare -Wno-narrowing>)
target_compile_options(IO PRIVATE $<$<CXX_COMPILER_ID:GNU>:-Wno-sign-compare -Wno-narrowing -Wno-unused-result>)
if(BUILD_TESTING)
add_subdirectory(UnitTests)
endif()
......@@ -40,7 +40,7 @@ namespace core {
/// apply to them. They can be used to model objects that do not move in the scene or
/// or objects that are controlled by external hardware, i.e. haptics devices.
///
class StaticSceneObject : public SceneObject, public OdeSystem
class StaticSceneObject : public SceneObject
{
public:
///
......
......@@ -40,7 +40,7 @@ public:
public:
OdeSystem();
~OdeSystem() = default;
virtual ~OdeSystem() = default;
///
/// \brief Set the derivative with respect to v of the right hand side.
......
......@@ -93,7 +93,7 @@ public:
///
/// \brief Set the render window
///
void *setRenderWindow(vtkSmartPointer<vtkRenderWindow> renWin)
void setRenderWindow(vtkSmartPointer<vtkRenderWindow> renWin)
{
this->renderWindow = renWin;
if(this->renderWindow->GetInteractor())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment