Imports the current Win32 source for the pod-racing game 'Red Planet', built on the MUNGA engine and its L4 (Win32/DirectX) platform layer: - MUNGA / MUNGA_L4: cross-platform engine core and Win32 backend - RP / RP_L4: Red Planet game logic and Win32 application - DivLoader, Setup1: asset loader and installer project - lib, MUNGA_L4/openal, MUNGA_L4/sos: third-party audio dependencies Removed stale Subversion metadata and added .gitignore/.gitattributes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
31 lines
527 B
C++
31 lines
527 B
C++
#pragma once
|
|
|
|
#include "affnmtrx.h"
|
|
|
|
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;
|
|
}; |