Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-08-01 03:06:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-01 03:06:12 +0400
commita199ae5368fa4a1de36f62dbb214a051b3fbe0c3 (patch)
tree12c5021085ec3ac707ebc7855112bab3120f268f /intern/boolop
parenta70a48814e16ffd063231577e1a120e1c2629675 (diff)
style cleanup: whitespace, also add '?' to save over popup since it wasnt totally clear it was a question (user pointed this out, they thought it was just notification and lost their work).
Diffstat (limited to 'intern/boolop')
-rw-r--r--intern/boolop/intern/BOP_BSPNode.h64
-rw-r--r--intern/boolop/intern/BOP_BSPTree.h32
2 files changed, 48 insertions, 48 deletions
diff --git a/intern/boolop/intern/BOP_BSPNode.h b/intern/boolop/intern/BOP_BSPNode.h
index e8646cd904c..6c110416dd7 100644
--- a/intern/boolop/intern/BOP_BSPNode.h
+++ b/intern/boolop/intern/BOP_BSPNode.h
@@ -52,43 +52,43 @@ public:
// Construction methods
BOP_BSPNode(const MT_Plane3& plane);
~BOP_BSPNode();
- unsigned int addFace(const BOP_BSPPoints& pts,
- const MT_Plane3& plane);
- BOP_TAG classifyFace(const MT_Point3& p1,
- const MT_Point3& p2,
- const MT_Point3& p3,
- const MT_Plane3& plane) const;
- BOP_TAG simplifiedClassifyFace(const MT_Point3& p1,
- const MT_Point3& p2,
- const MT_Point3& p3,
- const MT_Plane3& plane) const;
+ unsigned int addFace(const BOP_BSPPoints& pts,
+ const MT_Plane3& plane);
+ BOP_TAG classifyFace(const MT_Point3& p1,
+ const MT_Point3& p2,
+ const MT_Point3& p3,
+ const MT_Plane3& plane) const;
+ BOP_TAG simplifiedClassifyFace(const MT_Point3& p1,
+ const MT_Point3& p2,
+ const MT_Point3& p3,
+ const MT_Plane3& plane) const;
protected:
BOP_TAG testPoint(const MT_Point3& p) const;
- BOP_TAG classifyFaceIN(const MT_Point3& p1,
- const MT_Point3& p2,
- const MT_Point3& p3,
- const MT_Plane3& plane) const;
- BOP_TAG classifyFaceOUT(const MT_Point3& p1,
- const MT_Point3& p2,
- const MT_Point3& p3,
- const MT_Plane3& plane) const;
- BOP_TAG simplifiedClassifyFaceIN(const MT_Point3& p1,
- const MT_Point3& p2,
- const MT_Point3& p3,
- const MT_Plane3& plane) const;
- BOP_TAG simplifiedClassifyFaceOUT(const MT_Point3& p1,
- const MT_Point3& p2,
- const MT_Point3& p3,
- const MT_Plane3& plane) const;
+ BOP_TAG classifyFaceIN(const MT_Point3& p1,
+ const MT_Point3& p2,
+ const MT_Point3& p3,
+ const MT_Plane3& plane) const;
+ BOP_TAG classifyFaceOUT(const MT_Point3& p1,
+ const MT_Point3& p2,
+ const MT_Point3& p3,
+ const MT_Plane3& plane) const;
+ BOP_TAG simplifiedClassifyFaceIN(const MT_Point3& p1,
+ const MT_Point3& p2,
+ const MT_Point3& p3,
+ const MT_Plane3& plane) const;
+ BOP_TAG simplifiedClassifyFaceOUT(const MT_Point3& p1,
+ const MT_Point3& p2,
+ const MT_Point3& p3,
+ const MT_Plane3& plane) const;
bool hasSameOrientation(const MT_Plane3& plane) const;
int compChildren() const;
- int splitTriangle(MT_Point3* res,
- const MT_Plane3& plane,
- const MT_Point3& p1,
- const MT_Point3& p2,
- const MT_Point3& p3,
- const BOP_TAG tag) const;
+ int splitTriangle(MT_Point3* res,
+ const MT_Plane3& plane,
+ const MT_Point3& p1,
+ const MT_Point3& p2,
+ const MT_Point3& p3,
+ const BOP_TAG tag) const;
public:
// Inline acces methods
diff --git a/intern/boolop/intern/BOP_BSPTree.h b/intern/boolop/intern/BOP_BSPTree.h
index b3abd55bf2a..5dc55e47175 100644
--- a/intern/boolop/intern/BOP_BSPTree.h
+++ b/intern/boolop/intern/BOP_BSPTree.h
@@ -50,22 +50,22 @@ public:
virtual ~BOP_BSPTree();
void addMesh(BOP_Mesh* mesh, BOP_Faces& facesList);
void addFace(BOP_Mesh* mesh, BOP_Face* face);
- virtual void addFace(const MT_Point3& p1,
- const MT_Point3& p2,
- const MT_Point3& p3,
- const MT_Plane3& plane);
- BOP_TAG classifyFace(const MT_Point3& p1,
- const MT_Point3& p2,
- const MT_Point3& p3,
- const MT_Plane3& plane) const;
- BOP_TAG filterFace(const MT_Point3& p1,
- const MT_Point3& p2,
- const MT_Point3& p3,
- BOP_Face* face);
- BOP_TAG simplifiedClassifyFace(const MT_Point3& p1,
- const MT_Point3& p2,
- const MT_Point3& p3,
- const MT_Plane3& plane) const;
+ virtual void addFace(const MT_Point3& p1,
+ const MT_Point3& p2,
+ const MT_Point3& p3,
+ const MT_Plane3& plane);
+ BOP_TAG classifyFace(const MT_Point3& p1,
+ const MT_Point3& p2,
+ const MT_Point3& p3,
+ const MT_Plane3& plane) const;
+ BOP_TAG filterFace(const MT_Point3& p1,
+ const MT_Point3& p2,
+ const MT_Point3& p3,
+ BOP_Face* face);
+ BOP_TAG simplifiedClassifyFace(const MT_Point3& p1,
+ const MT_Point3& p2,
+ const MT_Point3& p3,
+ const MT_Plane3& plane) const;
unsigned int getDeep() const;
void print();
inline void setRoot(BOP_BSPNode* root) {m_root=root;};