Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove unused SC_Dimension class

this patch removes the SC_Dimension class, which seems to be not in
use for years

git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/branches/3.4@9952 a380766d-ff14-0410-b294-a243070f3f08
  • Loading branch information...
commit 6be3bcbd7dbadd1fb844a68604ea3b971f1d6f13 1 parent ad1bf5c
Tim Blechmann authored
View
31 common/Headers/plugin_interface/SC_Dimension.h
@@ -1,31 +0,0 @@
-/*
- SuperCollider real time audio synthesis system
- Copyright (c) 2002 James McCartney. All rights reserved.
- http://www.audiosynth.com
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-#ifndef _SC_Dimension_
-#define _SC_Dimension_
-
-struct SC_Dimension
-{
- long mWidth, mHeight, mNumPixels;
- float mXSlopeFactor, mYSlopeFactor;
-};
-typedef struct SC_Dimension SC_Dimension;
-
-#endif
View
1  common/Headers/plugin_interface/SC_Graph.h
@@ -23,7 +23,6 @@
#include "SC_Node.h"
#include "SC_Rate.h"
-#include "SC_Dimension.h"
#include "SC_SndBuf.h"
struct Graph
View
1  common/Headers/plugin_interface/SC_Unit.h
@@ -42,7 +42,6 @@ struct Unit
struct Wire **mInput, **mOutput;
struct Rate *mRate;
- struct SC_Dimension *mDimension;
float **mInBuf, **mOutBuf;
UnitCalcFunc mCalcFunc;
View
2  common/Headers/server/SC_Prototypes.h
@@ -99,8 +99,6 @@ SCErr bufAlloc(struct SndBuf* buf, int numChannels, int numFrames, double sample
void Rate_Init(struct Rate *inRate, double inSampleRate, int inBufLength);
-void Dimension_Init(struct SC_Dimension *inDimension, int inWidth, int inHeight);
-
////////////////////////////////////////////////////////////////////////
#define GRAPHDEF(inGraph) ((GraphDef*)((inGraph)->mNode.mDef))
View
1  common/SConstruct
@@ -805,7 +805,6 @@ Source/server/SC_Carbon.cpp
Source/server/SC_Complex.cpp
Source/server/SC_ComPort.cpp
Source/server/SC_CoreAudio.cpp
-Source/server/SC_Dimension.cpp
Source/server/SC_Errors.cpp
Source/server/SC_Graph.cpp
Source/server/SC_GraphDef.cpp
View
34 common/Source/server/SC_Dimension.cpp
@@ -1,34 +0,0 @@
-/*
- SuperCollider real time audio synthesis system
- Copyright (c) 2002 James McCartney. All rights reserved.
- http://www.audiosynth.com
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-*/
-
-
-#include "SC_Dimension.h"
-#include "SC_Prototypes.h"
-
-void Dimension_Init(SC_Dimension *inDimension, int inWidth, int inHeight)
-{
- inDimension->mWidth = inWidth;
- inDimension->mHeight = inHeight;
- inDimension->mNumPixels = inHeight * inWidth;
-
- inDimension->mXSlopeFactor = 2.f / (inWidth - 1);
- inDimension->mYSlopeFactor = 2.f / (inHeight - 1);
-}
-
View
1  common/Source/server/SC_Unit.cpp
@@ -70,7 +70,6 @@ Unit* Unit_New(World *inWorld, UnitSpec *inUnitSpec, char*& memory)
Rate* rateInfo = unit->mRate = inUnitSpec->mRateInfo;
unit->mBufLength = rateInfo->mBufLength;
- unit->mDimension = 0;
unit->mDone = false;
return unit;
View
1  common/wscript
@@ -143,7 +143,6 @@ def build(bld):
'Source/server/SC_Complex.cpp',
'Source/server/SC_ComPort.cpp',
'Source/server/SC_CoreAudio.cpp',
- 'Source/server/SC_Dimension.cpp',
'Source/server/SC_Errors.cpp',
'Source/server/SC_Graph.cpp',
'Source/server/SC_GraphDef.cpp',
Please sign in to comment.
Something went wrong with that request. Please try again.