Skip to content

Commit

Permalink
14.04 compile changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjr committed Aug 6, 2014
1 parent 0c7d8e4 commit f8366b3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions PLYWriterNodeVisitor.cc
Expand Up @@ -211,7 +211,7 @@ class PrimitiveIndexWriter : public osg::PrimitiveIndexFunctor {
}

// not sure if this is correct?
if(_geo->getNormalBinding() && _geo->getNormalBinding() == osg::Geometry::BIND_PER_PRIMITIVE) ++_normalIndex;
//if(_geo->getNormalBinding() && _geo->getNormalBinding() == osg::Geometry::BIND_PER_PRIMITIVE) ++_normalIndex;
}

// operator for lines
Expand All @@ -222,7 +222,7 @@ class PrimitiveIndexWriter : public osg::PrimitiveIndexFunctor {
write(i2);
_fout << std::endl;
// not sure if this is correct?
if(_geo->getNormalBinding() && _geo->getNormalBinding() == osg::Geometry::BIND_PER_PRIMITIVE) ++_normalIndex;
// if(_geo->getNormalBinding() && _geo->getNormalBinding() == osg::Geometry::BIND_PER_PRIMITIVE) ++_normalIndex;
}

// operator for points
Expand All @@ -232,7 +232,7 @@ class PrimitiveIndexWriter : public osg::PrimitiveIndexFunctor {
write(i1);
_fout << std::endl;
// not sure if this is correct?
if(_geo->getNormalBinding() && _geo->getNormalBinding() == osg::Geometry::BIND_PER_PRIMITIVE) ++_normalIndex;
// if(_geo->getNormalBinding() && _geo->getNormalBinding() == osg::Geometry::BIND_PER_PRIMITIVE) ++_normalIndex;
}

virtual void begin(GLenum mode)
Expand Down
5 changes: 5 additions & 0 deletions SiftGPU/src/SiftGPU/CMakeLists.txt
@@ -1,5 +1,10 @@
find_package(OpenGL REQUIRED)
find_package(GLUT REQUIRED)
if( DEFINED GLUT_Xmu_LIBRARY AND NOT GLUT_Xmu_LIBRARY)

list(REMOVE_ITEM GLUT_LIBRARIES ${GLUT_Xmu_LIBRARY})
endif()

#find_package(Glew)
include(../../../FindGlew.cmake)
FIND_PACKAGE(CUDA)
Expand Down
2 changes: 1 addition & 1 deletion swrender/Raster.cpp
Expand Up @@ -155,7 +155,7 @@ namespace Raster
return false;

float denom = 1.0f / d;
if (!isfinite(denom)) {
if (!std::isfinite(denom)) {
return false;
}

Expand Down

0 comments on commit f8366b3

Please sign in to comment.