mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
egg-qtess: Fix an unused variable warning
This commit is contained in:
parent
c4adc17d55
commit
4f7b153c3f
@ -108,12 +108,14 @@ void IsoPlacer::
|
|||||||
place(int count, pvector<double> &iso_points) {
|
place(int count, pvector<double> &iso_points) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
/*
|
||||||
// Count up the average curvature.
|
// Count up the average curvature.
|
||||||
double avg_curve = 0.0;
|
double avg_curve = 0.0;
|
||||||
for (i = 0; i < _maxi; i++) {
|
for (i = 0; i < _maxi; i++) {
|
||||||
avg_curve += _cscore[i];
|
avg_curve += _cscore[i];
|
||||||
}
|
}
|
||||||
avg_curve /= (double)_maxi;
|
avg_curve /= (double)_maxi;
|
||||||
|
*/
|
||||||
|
|
||||||
// Find all the local maxima in the curvature table. These are bend points.
|
// Find all the local maxima in the curvature table. These are bend points.
|
||||||
typedef pvector<int> BendPoints;
|
typedef pvector<int> BendPoints;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user