Merge branch 'main' of http://101.34.228.45:3000/BigC/ArchitectureColoredPainting
commit
293c1f3096
|
@ -70,6 +70,12 @@ Renderer::MaterialStyleStroke::MaterialStyleStroke(float width, StrokeType strok
|
|||
{
|
||||
}
|
||||
|
||||
Renderer::MaterialStyleStroke::MaterialStyleStroke(const MaterialStyleStroke& s)
|
||||
:halfWidth(s.halfWidth), strokeType(s.strokeType), endType(s.endType), materialStroke(std::make_shared<MaterialStroke>(*s.materialStroke))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
MaterialStyleType Renderer::MaterialStyleStroke::type() const
|
||||
{
|
||||
return MaterialStyleType::kStroke;
|
||||
|
|
|
@ -45,6 +45,7 @@ namespace Renderer
|
|||
{
|
||||
public:
|
||||
MaterialStyleStroke(float width, StrokeType strokeType, StrokeEndType endType, std::shared_ptr<MaterialStroke> materialStroke);
|
||||
MaterialStyleStroke(const MaterialStyleStroke&);
|
||||
virtual MaterialStyleType type() const override;
|
||||
virtual std::vector<GLfloat> encoded() const override;
|
||||
virtual bool operator==(const MaterialStyle&) const override;
|
||||
|
|
Loading…
Reference in New Issue