Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused variables #303

Merged
merged 1 commit into from
Mar 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/Imath/ImathMatrixAlgo.h
Original file line number Diff line number Diff line change
Expand Up @@ -777,8 +777,6 @@ template <class T>
Quat<T>
extractQuat (const Matrix44<T>& mat)
{
Matrix44<T> rot;

T tr, s;
T q[4];
int i, j, k;
Expand Down
9 changes: 0 additions & 9 deletions src/ImathTest/testJacobiEigenSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ const Matrix33<double> A33_8 (
0.25058694044821, 0.49427229444416, 0.81415724537748,
0.49427229444416, 0.80192384710853, -0.61674948224910,
0.81415724537748, -0.61674948224910, -1.28486154645285);
const Matrix33<double> A33_9 (
4, -30, 60,
-30, 300, -675,
60, -675, 1620);

const Matrix44<double> A44_1 ( 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 );
const Matrix44<double> A44_2 ( 1, 0, 0, 0, 0,-1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 );
Expand All @@ -50,11 +46,6 @@ const Matrix44<double> A44_8 (
0.16358123075600, 0.57629829390780, 3.88542912704029, 0.92016316185369,
0.11541756047409, 3.88542912704029, 0.65367032943707, -0.21971103270410,
-1.65369223465270, 0.92016316185369, -0.21971103270410, -0.28108876552761);
const Matrix44<double> A44_9 (
4, -30, 60, -35,
-30, 300, -675, 420,
60, -675, 1620, -1050,
-35, 420, -1050, 700);

// clang-format on

Expand Down
2 changes: 0 additions & 2 deletions src/ImathTest/testProcrustes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,6 @@ verifyProcrustes (
// there is zero net force and zero net torque.
//
{
IMATH_INTERNAL_NAMESPACE::V3d center (0, 0, 0);

IMATH_INTERNAL_NAMESPACE::V3d netForce (0);
IMATH_INTERNAL_NAMESPACE::V3d netTorque (0);
for (size_t iPoint = 0; iPoint < n; ++iPoint)
Expand Down