Meteor2D
dev internal
Meteor is a lightweight 2D game engine.
Toggle main menu visibility
Main Page
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
u
v
z
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
u
v
z
Variables
•
All
Classes
Functions
Variables
Pages
Loading...
Searching...
No Matches
rect.h
1
#pragma once
2
#include <meteorutils/vector2d.h>
3
4
namespace
meteor {
8
struct
SRect
{
9
public
:
10
SRect
() {
11
position.x = position.y = 0;
12
size.x = size.y = 1;
13
}
14
15
SRect
(
SVector2
position,
SVector2
size) {
16
this->position = position;
17
this->size = size;
18
}
19
20
SVector2
position;
21
SVector2
size;
22
};
8
struct
SRect
{
…
};
23
}
meteor::SRect
A struct representing rectangle.
Definition
rect.h:8
meteor::SVector2
A structure representing a 2D Vector.
Definition
vector2d.h:11
D:
Github
Meteor2D
Meteor2D
Engine
include
meteorutils
rect.h
Generated by
1.10.0