File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,6 @@ static const char* wrapTypeName = "cylinderObst";
35
35
static const double TwoPi = 2.0 *SimTK::Pi;
36
36
static const double max_wrap_pts_circle_ang = (5.0 /360.0 )*TwoPi;
37
37
38
- // The following variables could be used for speedy wrap_pts definitions (NOT CURRENTLY USED)
39
- static const int num_circle_wrap_pts = 36 ; // Number of circle points in 360 degrees
40
- static double circle_wrap_pts_sin[num_circle_wrap_pts];
41
- static double circle_wrap_pts_cos[num_circle_wrap_pts];
42
- static bool circle_wrap_pts_inited = false ;
43
-
44
38
// =============================================================================
45
39
// CONSTRUCTOR(S) AND DESTRUCTOR
46
40
// =============================================================================
@@ -68,12 +62,7 @@ WrapCylinderObst::~WrapCylinderObst()
68
62
// _____________________________________________________________________________
69
63
/* * Initialize static data variables used for speedy definition of wrap_pts (for graphics mainly) */
70
64
void WrapCylinderObst::initCircleWrapPts ()
71
- { int i; double q;
72
- for (i=0 ; i<num_circle_wrap_pts; i++) {
73
- q = TwoPi*(double )(i)/(double )(num_circle_wrap_pts);
74
- circle_wrap_pts_sin[i] = sin (q);
75
- circle_wrap_pts_cos[i] = cos (q);
76
- } circle_wrap_pts_inited = true ;
65
+ {
77
66
}
78
67
79
68
// _____________________________________________________________________________
You can’t perform that action at this time.
0 commit comments