mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-09-06 00:10:15 +02:00
TRollover, TOneway, TLightRollover, TTripwire, TEdgeManager ready.
This commit is contained in:
parent
9bd064bf15
commit
d19fb0476a
29 changed files with 632 additions and 160 deletions
|
@ -42,7 +42,7 @@ struct __declspec(align(4)) line_type
|
|||
float PreComp1;
|
||||
float OriginX;
|
||||
float OriginY;
|
||||
vector_type RayIntersect;
|
||||
vector_type RayIntersect;
|
||||
};
|
||||
|
||||
|
||||
|
@ -59,5 +59,7 @@ public:
|
|||
static void cross(vector_type* vec1, vector_type* vec2, vector_type* dstVec);
|
||||
static float magnitude(vector_type* vec);
|
||||
static void vector_add(vector_type* vec1Dst, vector_type* vec2);
|
||||
static float basic_collision(TBall* ball, struct vector_type* nextPosition, struct vector_type* direction, float a4, float a5, float maxSpeed, float multiplier);
|
||||
static float basic_collision(TBall* ball, vector_type* nextPosition, vector_type* direction, float a4, float a5,
|
||||
float maxSpeed, float multiplier);
|
||||
static float Distance_Squared(vector_type vec1, vector_type vec2);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue