From 365442915ca27d5943b4024883deac11e3b98f91 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 7 Apr 2022 18:43:00 +0200 Subject: Removed unsued and incomplete Primitives from Magic2 --- Magic2/Primitives.cpp | 51 ------------------------------------------------ Magic2/Primitives.h | 54 --------------------------------------------------- 2 files changed, 105 deletions(-) delete mode 100644 Magic2/Primitives.cpp delete mode 100644 Magic2/Primitives.h (limited to 'Magic2') 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 - -- cgit v1.1