render v2, ready

This commit is contained in:
oz committed 2020-11-15 17:39:00 +03:00
1 parent 79bb0adab8
commit a4c64cc4c8
14 files changed
+630 -117

No files matched your search

+4 -4
View File
@@ -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);
};