forked from bartvdbraak/blender
Dualcon: Code cleanup, prepare for strict C++ flags
This commit is contained in:
parent
3f4219a694
commit
232c2d382e
@ -158,7 +158,7 @@ static void create_projection_axes(int64_t axes[NUM_AXES][3], const int64_t tri[
|
||||
/**
|
||||
* Construction from a cube (axes aligned) and triangle
|
||||
*/
|
||||
CubeTriangleIsect::CubeTriangleIsect(int64_t cube[2][3], int64_t tri[3][3], int64_t error, int triind)
|
||||
CubeTriangleIsect::CubeTriangleIsect(int64_t cube[2][3], int64_t tri[3][3], int64_t /*error*/, int triind)
|
||||
{
|
||||
int i;
|
||||
inherit = new TriangleProjection;
|
||||
|
@ -174,7 +174,7 @@ float getBoundingBox(float origin[3])
|
||||
}
|
||||
|
||||
/* output */
|
||||
void getNextVertex(float v[3])
|
||||
void getNextVertex(float /*v*/[3])
|
||||
{
|
||||
/* not used */
|
||||
}
|
||||
|
@ -1448,7 +1448,7 @@ Node *Octree::locateCell(InternalNode *node, int st[3], int len, int ori[3], int
|
||||
return (Node *)node;
|
||||
}
|
||||
|
||||
void Octree::checkElement(PathElement *ele)
|
||||
void Octree::checkElement(PathElement * /*ele*/)
|
||||
{
|
||||
/*
|
||||
if(ele != NULL && locateLeafCheck(ele->pos) != ele->node) {
|
||||
@ -1797,7 +1797,7 @@ void Octree::clearProcessBits(Node *node, int height)
|
||||
}
|
||||
}
|
||||
|
||||
int Octree::floodFill(LeafNode *leaf, int st[3], int len, int height, int threshold)
|
||||
int Octree::floodFill(LeafNode *leaf, int st[3], int len, int /*height*/, int threshold)
|
||||
{
|
||||
int i, j;
|
||||
int maxtotal = 0;
|
||||
@ -2317,7 +2317,7 @@ void Octree::generateMinimizer(Node *node, int st[3], int len, int height, int&
|
||||
}
|
||||
}
|
||||
|
||||
void Octree::processEdgeWrite(Node *node[4], int depth[4], int maxdep, int dir)
|
||||
void Octree::processEdgeWrite(Node *node[4], int /*depth*/[4], int /*maxdep*/, int dir)
|
||||
{
|
||||
//int color = 0;
|
||||
|
||||
@ -2553,7 +2553,7 @@ void Octree::cellProcContour(Node *node, int leaf, int depth)
|
||||
|
||||
}
|
||||
|
||||
void Octree::processEdgeParity(LeafNode *node[4], int depth[4], int maxdep, int dir)
|
||||
void Octree::processEdgeParity(LeafNode *node[4], int /*depth*/[4], int /*maxdep*/, int dir)
|
||||
{
|
||||
int con = 0;
|
||||
for (int i = 0; i < 4; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user