diff options
Diffstat (limited to 'source/blender/freestyle/intern/scene_graph')
9 files changed, 25 insertions, 21 deletions
diff --git a/source/blender/freestyle/intern/scene_graph/IndexedFaceSet.h b/source/blender/freestyle/intern/scene_graph/IndexedFaceSet.h index 83672199e37..2a38e6ffcc6 100644 --- a/source/blender/freestyle/intern/scene_graph/IndexedFaceSet.h +++ b/source/blender/freestyle/intern/scene_graph/IndexedFaceSet.h @@ -99,13 +99,11 @@ class IndexedFaceSet : public Rep { * iMISize * The size of iMIndices * iTIndices - * The Texture coordinates indices (per vertex). The integers contained in this array must be multiple of 2. - * iTISize - * The size of iMIndices - * iCopy - * 0 : the arrays are not copied. The pointers passed as arguments are used. IndexedFaceSet takes these - * arrays desallocation in charge. - * 1 : the arrays are copied. The caller is in charge of the arrays, passed as arguments desallocation. + * The Texture coordinates indices (per vertex). The integers contained in this array must + * be multiple of 2. iTISize The size of iMIndices iCopy 0 : the arrays are not copied. The + * pointers passed as arguments are used. IndexedFaceSet takes these arrays desallocation in + * charge. 1 : the arrays are copied. The caller is in charge of the arrays, passed as arguments + * desallocation. */ IndexedFaceSet(float *iVertices, unsigned iVSize, diff --git a/source/blender/freestyle/intern/scene_graph/Node.h b/source/blender/freestyle/intern/scene_graph/Node.h index a9424fe14d2..2e0e94ed5de 100644 --- a/source/blender/freestyle/intern/scene_graph/Node.h +++ b/source/blender/freestyle/intern/scene_graph/Node.h @@ -19,7 +19,8 @@ /** \file * \ingroup freestyle - * \brief Abstract class for scene graph nodes. Inherits from BaseObject which defines the addRef release mechanism. + * \brief Abstract class for scene graph nodes. Inherits from BaseObject which defines the addRef + * release mechanism. */ #include "SceneVisitor.h" diff --git a/source/blender/freestyle/intern/scene_graph/NodeDrawingStyle.cpp b/source/blender/freestyle/intern/scene_graph/NodeDrawingStyle.cpp index 2564a462407..75acccef666 100644 --- a/source/blender/freestyle/intern/scene_graph/NodeDrawingStyle.cpp +++ b/source/blender/freestyle/intern/scene_graph/NodeDrawingStyle.cpp @@ -16,7 +16,8 @@ /** \file * \ingroup freestyle - * \brief Class to define a Drawing Style to be applied to the underlying children. Inherits from NodeGroup. + * \brief Class to define a Drawing Style to be applied to the underlying children. Inherits from + * NodeGroup. */ #include "NodeDrawingStyle.h" diff --git a/source/blender/freestyle/intern/scene_graph/NodeDrawingStyle.h b/source/blender/freestyle/intern/scene_graph/NodeDrawingStyle.h index ea617a912f6..f1dfad06250 100644 --- a/source/blender/freestyle/intern/scene_graph/NodeDrawingStyle.h +++ b/source/blender/freestyle/intern/scene_graph/NodeDrawingStyle.h @@ -19,7 +19,8 @@ /** \file * \ingroup freestyle - * \brief Class to define a Drawing Style to be applied to the underlying children. Inherits from NodeGroup. + * \brief Class to define a Drawing Style to be applied to the underlying children. Inherits from + * NodeGroup. */ #include "DrawingStyle.h" diff --git a/source/blender/freestyle/intern/scene_graph/NodeGroup.cpp b/source/blender/freestyle/intern/scene_graph/NodeGroup.cpp index 204e5e1c60e..7ea495c4166 100644 --- a/source/blender/freestyle/intern/scene_graph/NodeGroup.cpp +++ b/source/blender/freestyle/intern/scene_graph/NodeGroup.cpp @@ -17,7 +17,8 @@ /** \file * \ingroup freestyle * \brief Class to represent a group node. This node can contains several children. - * \brief It also contains a transform matrix indicating the transform state of the underlying children. + * \brief It also contains a transform matrix indicating the transform state of the underlying + * children. */ #include "NodeGroup.h" @@ -36,10 +37,9 @@ void NodeGroup::AddChild(Node *iChild) int NodeGroup::destroy() { /*! Node::destroy makes a release on the object and then returns the reference counter. - * If the reference counter is equal to 0, that means that nobody else is linking this node group and - * that we can destroy the whole underlying tree. - * Else, one or several Node link this node group, and we only returns the reference counter - * decremented by Node::destroy(); + * If the reference counter is equal to 0, that means that nobody else is linking this node + * group and that we can destroy the whole underlying tree. Else, one or several Node link this + * node group, and we only returns the reference counter decremented by Node::destroy(); */ int refThis = Node::destroy(); diff --git a/source/blender/freestyle/intern/scene_graph/NodeGroup.h b/source/blender/freestyle/intern/scene_graph/NodeGroup.h index 89f81cc2b13..f40deb13a3e 100644 --- a/source/blender/freestyle/intern/scene_graph/NodeGroup.h +++ b/source/blender/freestyle/intern/scene_graph/NodeGroup.h @@ -20,7 +20,8 @@ /** \file * \ingroup freestyle * \brief Class to represent a group node. This node can contains several children. - * \brief It also contains a transform matrix indicating the transform state of the underlying children. + * \brief It also contains a transform matrix indicating the transform state of the underlying + * children. */ #include <vector> diff --git a/source/blender/freestyle/intern/scene_graph/NodeTransform.cpp b/source/blender/freestyle/intern/scene_graph/NodeTransform.cpp index 69179eb6c84..5452c233e2c 100644 --- a/source/blender/freestyle/intern/scene_graph/NodeTransform.cpp +++ b/source/blender/freestyle/intern/scene_graph/NodeTransform.cpp @@ -35,7 +35,7 @@ void NodeTransform::Translate(real x, real y, real z) void NodeTransform::Rotate(real iAngle, real x, real y, real z) { - //Normalize the x,y,z vector; + // Normalize the x,y,z vector; real norm = (real)sqrt(x * x + y * y + z * z); if (0 == norm) return; diff --git a/source/blender/freestyle/intern/scene_graph/Rep.cpp b/source/blender/freestyle/intern/scene_graph/Rep.cpp index 94f6e1fa9d3..5b49243faef 100644 --- a/source/blender/freestyle/intern/scene_graph/Rep.cpp +++ b/source/blender/freestyle/intern/scene_graph/Rep.cpp @@ -16,7 +16,8 @@ /** \file * \ingroup freestyle - * \brief Base class for all shapes. Inherits from BasicObjects for references counter management (addRef, release). + * \brief Base class for all shapes. Inherits from BasicObjects for references counter management + * (addRef, release). */ #include "Rep.h" diff --git a/source/blender/freestyle/intern/scene_graph/Rep.h b/source/blender/freestyle/intern/scene_graph/Rep.h index 7b5e752ea07..22078422af6 100644 --- a/source/blender/freestyle/intern/scene_graph/Rep.h +++ b/source/blender/freestyle/intern/scene_graph/Rep.h @@ -19,7 +19,8 @@ /** \file * \ingroup freestyle - * \brief Base class for all shapes. Inherits from BasicObjects for references counter management (addRef, release). + * \brief Base class for all shapes. + * Inherits from BasicObjects for references counter management (addRef, release). */ #include <string> @@ -111,8 +112,8 @@ class Rep : public BaseObject { } /*! Computes the rep bounding box. - * Each Inherited rep must compute its bbox depending on the way the data are stored. So, each inherited class - * must overload this method + * Each Inherited rep must compute its bbox depending on the way the data are stored. So, each + * inherited class must overload this method */ virtual void ComputeBBox() = 0; |