Files
TeslaRel410/CODE/BT/MUNGA/SPLINE.HPP
T
CydandClaude Fable 5 fdd9ac9d97 Initial import: Tesla Release 4.10 (Tesla:BattleTech & Tesla:Red Planet)
Archival snapshot of the Virtual World Entertainment Tesla cockpit
software, 1994-1996: MUNGA engine and L4 pod layer source (Borland
C++ 5.0), BT/RP game code, and game content (models, audio, maps,
gauges, Division renderer data). Includes third-party libraries:
Division dVS/DPL graphics, HMI SOS audio, WATTCP networking.

Files are preserved byte-for-byte (.gitattributes disables all
line-ending conversion). README.md documents the layout, target
hardware, and toolchain.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 13:21:58 -05:00

43 lines
705 B
C++

#if !defined(SPLINE_HPP)
# define SPLINE_HPP
# if !defined(AFFNMTRX_HPP)
# include <affnmtrx.hpp>
# endif
class CubicCurve {
public:
#if defined(USE_SIGNATURE)
friend int
Is_Signature_Bad(const volatile CubicCurve *);
#endif
CubicCurve( // Hermite form
const Point3D& p1,
const Vector3D& r1,
const Point3D& p4,
const Vector3D& r4
);
CubicCurve( // Bezier form
const Point3D& p1,
const Point3D& p2,
const Point3D& p3,
const Point3D& p4
);
void
Evaluate(
Scalar t,
Point3D *p,
Vector3D *v
);
Logical
TestInstance() const;
protected:
AffineMatrix
basisMatrix;
};
#endif