mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
changed includes, activated core functions
This commit is contained in:
parent
7a1ffba318
commit
4b5315ffb2
@ -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 //]
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user