!XT (BREAK-16) (Sandbox) Remove double-newlines at the end of files.
[CRYENGINE.git] / Code / Sandbox / Plugins / CryDesigner / Tools / Shape / SphereTool.h
blob6aa612283d6d66684534448764f7af3eea31b5db
1 // Copyright 2001-2018 Crytek GmbH / Crytek Group. All rights reserved.
3 #pragma once
5 #include "DiscTool.h"
7 namespace Designer
9 class SphereTool : public DiscTool
11 public:
12 SphereTool(EDesignerTool tool) :
13 DiscTool(tool),
14 m_MatTo001(BrushMatrix34::CreateIdentity())
17 ~SphereTool(){}
19 protected:
20 void UpdateShape() override;
21 void UpdateDesignerBasedOnSpherePolygons(const BrushMatrix34& tm);
22 void Register() override;
24 private:
25 BrushMatrix34 m_MatTo001;
26 std::vector<PolygonPtr> m_SpherePolygons;