Browse Source

changed includes, activated core functions

Dave Schuyler 25 years ago
parent
commit
4b5315ffb2
1 changed files with 1 additions and 11 deletions
  1. 1 11
      panda/src/parametrics/hermiteCurve.cxx

+ 1 - 11
panda/src/parametrics/hermiteCurve.cxx

@@ -16,18 +16,12 @@
 // Includes
 ////////////////////////////////////////////////////////////////////
 
+#include "pandabase.h"
 #include "hermiteCurve.h"
 #include "config_parametrics.h"
 #include "luse.h"
 
-////#include <initReg.h>
 #include <math.h>
-////#include <alloca.h>
-////#include <Performer/pf/pfBuffer.h>
-////#include <DConfig.h>
-////#include <perfalloc.h>
-////#include <pfb_util.h>
-using namespace std;
 
 ////////////////////////////////////////////////////////////////////
 // Statics
@@ -898,7 +892,6 @@ wrap_hpr(const LVector3f &hpr1, LVector3f &hpr2) {
 ////////////////////////////////////////////////////////////////////
 void HermiteCurve::
 invalidate_cv(int n, bool redo_all) {
-#if 0 //[////todo:skyler
   double t1 = 0.0, t2 = get_max_t();
   if (n>0 && _points[n-1]._type!=HC_CUT) {
     const HermiteCurveCV &p1 = _points[n-1];
@@ -933,7 +926,6 @@ invalidate_cv(int n, bool redo_all) {
       invalidate(t1, t2);
     }
   }
-#endif //]
 }
 
 
@@ -969,7 +961,6 @@ find_cv(double t) {
 ////////////////////////////////////////////////////////////////////
 void HermiteCurve::
 recompute_basis() {
-#if 0 //[////todo:skyler
   int n;
   for (n = 0; n<_segs.size(); n++) {
     if (_points[n]._type==HC_CUT) {
@@ -985,6 +976,5 @@ recompute_basis() {
       get_curveseg(n)->hermite_basis(p1, p2, get_tlength(n));
     }
   }
-#endif //]
 }