[Cam] fix warning

removed unused variables
This commit is contained in:
mosfet80+
2024-05-23 00:33:27 +02:00
committed by wwmayer
parent 890d9aea4c
commit c168ac3e47
3 changed files with 3 additions and 12 deletions

View File

@@ -33,11 +33,6 @@ using namespace MillSim;
static float* sinTable = nullptr;
static float* cosTable = nullptr;
static int lastNumSlices = 0;
static int lastNumSectionIndices = 0;
static GLshort quadIndices[] = { 0, 2, 3, 0, 3, 1 };
static GLshort quadIndicesReversed[] = { 0, 3, 2, 0, 1, 3 };
static GLshort* sectionIndicesQuad = nullptr;
static GLshort* sectionIndicesTri = nullptr;
static bool GenerateSinTable(int nSlices)
{
@@ -71,7 +66,7 @@ static bool GenerateSinTable(int nSlices)
}
void MillSim::Shape::RotateProfile(float* profPoints, int nPoints, float distance, float deltaHeight, int nSlices, bool isHalfTurn)
void MillSim::Shape::RotateProfile(float* profPoints, int nPoints, float distance, int nSlices, bool isHalfTurn)
{
int vidx = 0;
int iidx = 0;