mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-09-06 00:10:15 +02:00
render v2, ready
This commit is contained in:
parent
79bb0adab8
commit
a4c64cc4c8
14 changed files with 630 additions and 117 deletions
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
|
||||
struct __declspec(align(4)) visual_rect
|
||||
struct __declspec(align(4)) rectangle_type
|
||||
{
|
||||
int XPosition;
|
||||
int YPosition;
|
||||
|
@ -12,7 +12,7 @@ struct __declspec(align(4)) visual_rect
|
|||
class maths
|
||||
{
|
||||
public:
|
||||
static void enclosing_box(visual_rect* rect1, visual_rect* rect2, visual_rect* dstRect);
|
||||
|
||||
static void enclosing_box(rectangle_type* rect1, rectangle_type* rect2, rectangle_type* dstRect);
|
||||
static int rectangle_clip(rectangle_type* rect1, rectangle_type* rect2, rectangle_type* dstRect);
|
||||
static int overlapping_box(rectangle_type* rect1, rectangle_type* rect2, rectangle_type* dstRect);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue