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
6namespace cgv {
7namespace render {
8
11 box2 rectangle;
12 vec4 texcoords;
13};
14
15} // namespace render
16} // namespace cgv
namespace for api independent GPU programming
this header is dependency free
Definition print.h:11
cgv::math::fvec< float, 4 > vec4
declare type of 4d single precision floating point vectors (used for homogeneous coordinates)
Definition fvec.h:696
cgv::media::axis_aligned_box< float, 2 > box2
declare type of 2d single precision floating point axis-aligned boxes
This type provides a simple helper class to store rectangles with texture coordinates.