style cleanup: tabs & whitespace

This commit is contained in:
Campbell Barton
2012-11-03 15:35:03 +00:00
parent 060ea498b0
commit 25591e958d
32 changed files with 345 additions and 343 deletions

View File

@@ -61,9 +61,9 @@ extern "C" {
#endif
typedef struct {
int vertex_index[4];
int vertex_number;
int orig_face;
int vertex_index[4];
int vertex_number;
int orig_face;
} CSG_IFace;
/**
@@ -72,7 +72,7 @@ typedef struct {
*/
typedef struct {
float position[3];
float position[3];
} CSG_IVertex;
/**

View File

@@ -135,10 +135,10 @@ static bool Carve_checkEdgeFaceIntersections(carve::csg::Intersections &intersec
static inline bool Carve_facesAreCoplanar(const MeshSet<3>::face_t *a, const MeshSet<3>::face_t *b)
{
carve::geom3d::Ray temp;
// XXX: Find a better definition. This may be a source of problems
// if floating point inaccuracies cause an incorrect answer.
return !carve::geom3d::planeIntersection(a->plane, b->plane, temp);
carve::geom3d::Ray temp;
// XXX: Find a better definition. This may be a source of problems
// if floating point inaccuracies cause an incorrect answer.
return !carve::geom3d::planeIntersection(a->plane, b->plane, temp);
}
static bool Carve_checkMeshSetInterseciton_do(carve::csg::Intersections &intersections,