summaryrefslogtreecommitdiffhomepage
path: root/Magic2
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-04-07 18:43:00 +0200
committerAki <please@ignore.pl>2022-04-07 18:43:00 +0200
commit365442915ca27d5943b4024883deac11e3b98f91 (patch)
treedeb91bea043f0ef555145c8a974480164b23a7ae /Magic2
parentefe12d3a443f431c97af0f6e60587d1f43652789 (diff)
downloadstarshatter-365442915ca27d5943b4024883deac11e3b98f91.zip
starshatter-365442915ca27d5943b4024883deac11e3b98f91.tar.gz
starshatter-365442915ca27d5943b4024883deac11e3b98f91.tar.bz2
Removed unsued and incomplete Primitives from Magic2
Diffstat (limited to 'Magic2')
-rw-r--r--Magic2/Primitives.cpp51
-rw-r--r--Magic2/Primitives.h54
2 files changed, 0 insertions, 105 deletions
diff --git a/Magic2/Primitives.cpp b/Magic2/Primitives.cpp
deleted file mode 100644
index a86f126..0000000
--- a/Magic2/Primitives.cpp
+++ /dev/null
@@ -1,51 +0,0 @@
-/* Starshatter: The Open Source Project
- Copyright (c) 2021-2022, Starshatter: The Open Source Project Contributors
- Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors
- Copyright (c) 1997-2006, Destroyer Studios LLC.
-
- AUTHOR: John DiCamillo
-
-
- OVERVIEW
- ========
- Commands for adding basic geometric primitives to a mesh
-*/
-
-
-#include "stdafx.h"
-#include "Primitives.h"
-#include "MagicDoc.h"
-#include "ModelView.h"
-#include "Selection.h"
-
-// +----------------------------------------------------------------------+
-// +----------------------------------------------------------------------+
-// +----------------------------------------------------------------------+
-
-CreatePolyCommand::CreatePolyCommand(MagicDoc* d)
- : Command(n, d)
-{
-}
-
-CreatePolyCommand::~CreatePolyCommand()
-{
-}
-
-// +----------------------------------------------------------------------+
-
-void
-CreatePolyCommand::Do()
-{
- if (document) {
- }
-}
-
-// +----------------------------------------------------------------------+
-
-void
-EditCommand::Undo()
-{
- if (document) {
- }
-}
-
diff --git a/Magic2/Primitives.h b/Magic2/Primitives.h
deleted file mode 100644
index b4add96..0000000
--- a/Magic2/Primitives.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/* Starshatter: The Open Source Project
- Copyright (c) 2021-2022, Starshatter: The Open Source Project Contributors
- Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors
- Copyright (c) 1997-2006, Destroyer Studios LLC.
-
- AUTHOR: John DiCamillo
-
-
- OVERVIEW
- ========
- Commands for adding basic geometric primitives to a mesh
-*/
-
-#ifndef Primitives_h
-#define Primitives_h
-
-#include "MagicDoc.h"
-#include "Command.h"
-#include "Polygon.h"
-#include "Solid.h"
-#include "Video.h"
-#include "List.h"
-
-// +--------------------------------------------------------------------+
-
-class Selection;
-class ModelView;
-
-// +--------------------------------------------------------------------+
-
-class CreatePolyCommand : public Command
-{
-public:
- CreatePolyCommand(MagicDoc* doc,
- int nsides,
- double lx,
- double ly,
- double lz);
- virtual ~CreatePolyCommand();
-
- virtual void Do();
- virtual void Undo();
-
-private:
- int nsides;
- double lx;
- double ly;
- double lz;
-};
-
-// +--------------------------------------------------------------------+
-
-#endif Primitives_h
-