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:
authorMaxime Curioni <maxime.curioni@gmail.com>2008-07-22 01:24:37 +0400
committerMaxime Curioni <maxime.curioni@gmail.com>2008-07-22 01:24:37 +0400
commit7426a3e35bb6ebc5c08eb307c0f9d30ef51ae570 (patch)
tree20ca168e42005a447ce4a89f37b3a238a92942cb /source/blender/freestyle/intern/scene_graph/LineRep.h
parentab722884d3684808b17f76ae742ef59dccf4f8e2 (diff)
Added StrokeAttribute class. Beginning of StrokeVertex.
IMPORTANT: The setters functions' names were normalized due to constant confusion regarding capitalization. All the function names start with set... instead of Set.... This convention was changed all throughout Freestyle. To use Freestyle as an external renderer, the SWIG library MUST be regenerated.
Diffstat (limited to 'source/blender/freestyle/intern/scene_graph/LineRep.h')
-rwxr-xr-xsource/blender/freestyle/intern/scene_graph/LineRep.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/freestyle/intern/scene_graph/LineRep.h b/source/blender/freestyle/intern/scene_graph/LineRep.h
index 1bbba130ba3..232557af857 100755
--- a/source/blender/freestyle/intern/scene_graph/LineRep.h
+++ b/source/blender/freestyle/intern/scene_graph/LineRep.h
@@ -55,7 +55,7 @@ public:
inline LineRep(const Vec3r& v1, const Vec3r& v2)
: Rep()
{
- SetStyle(LINES);
+ setStyle(LINES);
AddVertex(v1);
AddVertex(v2);
_width = 0.f;
@@ -66,7 +66,7 @@ public:
: Rep()
{
_vertices = vertices;
- SetStyle(LINE_STRIP);
+ setStyle(LINE_STRIP);
_width = 0.f;
}
@@ -80,7 +80,7 @@ public:
{
_vertices.push_back(*v);
}
- SetStyle(LINE_STRIP);
+ setStyle(LINE_STRIP);
_width = 0.f;
}
@@ -95,9 +95,9 @@ public:
inline float width() const {return _width;}
/*! modifiers */
- inline void SetStyle(const LINES_STYLE iStyle) {_Style = iStyle;}
+ inline void setStyle(const LINES_STYLE iStyle) {_Style = iStyle;}
inline void AddVertex(const Vec3r& iVertex) {_vertices.push_back(iVertex);}
- inline void SetVertices(const vector<Vec3r>& iVertices)
+ inline void setVertices(const vector<Vec3r>& iVertices)
{
if(0 != _vertices.size())
{
@@ -110,7 +110,7 @@ public:
_vertices.push_back(*v);
}
}
- inline void SetWidth(float iWidth) {_width=iWidth;}
+ inline void setWidth(float iWidth) {_width=iWidth;}
/*! Accept the corresponding visitor */
virtual void accept(SceneVisitor& v) {