mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-09-06 00:10:15 +02:00
gdrv, render v1.
This commit is contained in:
parent
a925b6137f
commit
989ba6cdb2
25 changed files with 598 additions and 135 deletions
18
SpaceCadetPinball/maths.h
Normal file
18
SpaceCadetPinball/maths.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#pragma once
|
||||
|
||||
|
||||
struct __declspec(align(4)) visual_rect
|
||||
{
|
||||
int XPosition;
|
||||
int YPosition;
|
||||
int Width;
|
||||
int Height;
|
||||
};
|
||||
|
||||
class maths
|
||||
{
|
||||
public:
|
||||
static void enclosing_box(visual_rect* rect1, visual_rect* rect2, visual_rect* dstRect);
|
||||
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue