14 return trec2<T>::from_size(
15 larger.position() + glm::tvec2<T>{
16 ghassanpl::aligned<T>(smaller.width(), larger.width(), horizontal_from(alignment)),
17 ghassanpl::aligned<T>(smaller.height(), larger.height(), vertical_from(alignment))
26 return trec2<T>::from_size(
27 larger.position() + glm::tvec2<T>{
28 ghassanpl::aligned<T>(inner_size.x, larger.width(), horizontal_from(alignment)),
29 ghassanpl::aligned<T>(inner_size.y, larger.height(), vertical_from(alignment))
align
Represents an alignment in both axes (horizontal and veritcal)
constexpr auto bit_count
Equal to the number of bits in the type.
Primary namespace for everything in this library.