Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/stroke/Stroke.cpp
| Show First 20 Lines • Show All 377 Lines • ▼ Show 20 Lines | |||||
| StrokeVertex::StrokeVertex(SVertex *iSVertex, const StrokeAttribute &iAttribute) | StrokeVertex::StrokeVertex(SVertex *iSVertex, const StrokeAttribute &iAttribute) | ||||
| : CurvePoint(iSVertex, nullptr, 0.0f) | : CurvePoint(iSVertex, nullptr, 0.0f) | ||||
| { | { | ||||
| _Attribute = iAttribute; | _Attribute = iAttribute; | ||||
| _CurvilignAbscissa = 0.0f; | _CurvilignAbscissa = 0.0f; | ||||
| _StrokeLength = 0.0f; | _StrokeLength = 0.0f; | ||||
| } | } | ||||
| StrokeVertex::~StrokeVertex() | |||||
| { | |||||
| } | |||||
| StrokeVertex &StrokeVertex::operator=(const StrokeVertex &iBrother) | StrokeVertex &StrokeVertex::operator=(const StrokeVertex &iBrother) | ||||
| { | { | ||||
| ((CurvePoint *)this)->operator=(iBrother); | ((CurvePoint *)this)->operator=(iBrother); | ||||
| _Attribute = iBrother._Attribute; | _Attribute = iBrother._Attribute; | ||||
| _CurvilignAbscissa = 0.0f; | _CurvilignAbscissa = 0.0f; | ||||
| _StrokeLength = 0.0f; | _StrokeLength = 0.0f; | ||||
| ▲ Show 20 Lines • Show All 631 Lines • Show Last 20 Lines | |||||