Skip to content

Commit

Permalink
MAINT: osx support
Browse files Browse the repository at this point in the history
  • Loading branch information
zap150 committed Mar 29, 2022
1 parent 7911717 commit c7e8b87
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions Box.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once

#include <limits>

#include "Vector.hpp"

namespace Pvl {
Expand Down
2 changes: 1 addition & 1 deletion CloudUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ void orientNormals(Cloud& cloud, Normals& normals) {
}

// declare component 0 as correct
for (int c = 1; c < componentIdx; ++c) {
for (std::size_t c = 1; c < componentIdx; ++c) {
int votes = 0;
for (std::size_t i = 0; i < cloud.size(); ++i) {
if (indices[i] != c) {
Expand Down
12 changes: 6 additions & 6 deletions Graph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ class Handle {
}
};

class HalfEdge;
class Vertex;
class Face;
class Edge;
struct HalfEdge;
struct Vertex;
struct Face;
struct Edge;
class Graph;

using HalfEdgeHandle = Handle<HalfEdge>;
Expand Down Expand Up @@ -253,8 +253,8 @@ struct Edge {};

// template<typename Vertex, typename HalfEdge, typename Face>
class Graph {
friend class Vertex;
friend class Face;
friend struct Vertex;
friend struct Face;

std::vector<Vertex> vertices_;
std::vector<Face> faces_;
Expand Down

0 comments on commit c7e8b87

Please sign in to comment.