style cleanup: tabs & whitespace
This commit is contained in:
8
intern/bsp/extern/CSG_BooleanOps.h
vendored
8
intern/bsp/extern/CSG_BooleanOps.h
vendored
@@ -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;
|
||||
|
||||
/**
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user