cgv
Loading...
Searching...
No Matches
textured_rectangle.h
1
#pragma once
2
3
#include <cgv/math/fvec.h>
4
#include <cgv/media/axis_aligned_box.h>
5
6
namespace
cgv
{
7
namespace
render
{
8
10
struct
textured_rectangle
{
11
box2
rectangle;
12
vec4
texcoords;
13
};
14
15
}
// namespace render
16
}
// namespace cgv
cgv::render
namespace for api independent GPU programming
Definition
attribute_array_binding.cxx:7
cgv
this header is dependency free
Definition
print.h:11
cgv::vec4
cgv::math::fvec< float, 4 > vec4
declare type of 4d single precision floating point vectors (used for homogeneous coordinates)
Definition
fvec.h:696
cgv::box2
cgv::media::axis_aligned_box< float, 2 > box2
declare type of 2d single precision floating point axis-aligned boxes
Definition
axis_aligned_box.h:176
cgv::render::textured_rectangle
This type provides a simple helper class to store rectangles with texture coordinates.
Definition
textured_rectangle.h:10
cgv
render
textured_rectangle.h
Generated by
1.15.0