6#include <math/math.hpp>
15 Viewport(
const Vector2f& size,
float minDepth = 0.f,
float maxDepth = 1.f)
16 :
Viewport(0, 0, size.x(), size.y(), minDepth, maxDepth)
20 Viewport(
const Vector2f& position,
const Vector2f& size,
float minDepth = 0.f,
float maxDepth = 1.f)
21 :
Viewport(position.x(), position.y(), size.x(), size.y(), minDepth, maxDepth)
25 Viewport(
float x,
float y,
float width,
float height,
float minDepth = 0.f,
float maxDepth = 1.f)
26 : x(x), y(y), width(width), height(height), minDepth(minDepth), maxDepth(maxDepth)
视口.
Definition: Viewport.hpp:12