NcEngine
WindowTypes.h
Go to the documentation of this file.
1
5
#pragma once
6
7
#include "
ncmath/Vector.h
"
8
9
namespace
nc
10
{
15
struct
Viewport
16
{
17
nc::Vector2
Size =
nc::Vector2
{1.0f, 1.0f};
18
nc::Vector2
TopLeft =
nc::Vector2
{0.0f, 0.0f};
19
};
20
}
Vector.h
nc::Vector2
A two component vector.
Definition:
Vector.h:13
nc::Viewport
A struct that controls the viewport and scissor size and placement.
Definition:
WindowTypes.h:16
include
ncengine
window
WindowTypes.h
Generated by
1.9.4