LiteFX 0.3.1.2022
Computer Graphics Engine
|
#include <math.hpp>
Inherits LiteFX::Math::Vector< size_t, 2 >.
Public Member Functions | |
Size2d () noexcept | |
Size2d (const size_t &v) noexcept | |
Size2d (const size_t &w, const size_t &h) noexcept | |
Size2d (const Size2d &) noexcept | |
Size2d (Size2d &&) noexcept | |
Size2d & | operator= (const Size2d &_other) noexcept |
Size2d & | operator= (Size2d &&_other) noexcept |
operator Size3d () const noexcept | |
operator Size4d () const noexcept | |
Size2d | operator/ (const size_t &s) noexcept |
Size2d & | operator/= (const size_t &s) noexcept |
Size2d | operator* (const size_t &s) noexcept |
Size2d & | operator*= (const size_t &s) noexcept |
Size2d | operator+ (const Size2d &s) noexcept |
Size2d & | operator+= (const Size2d &s) noexcept |
Size2d | operator- (const Size2d &s) noexcept |
Size2d & | operator-= (const Size2d &s) noexcept |
const size_t & | width () const noexcept |
size_t & | width () noexcept |
const size_t & | height () const noexcept |
size_t & | height () noexcept |
Public Member Functions inherited from LiteFX::Math::Vector< size_t, 2 > | |
Vector () noexcept=default | |
Vector (const size_t &val) noexcept | |
Vector (const vec_type &_other) noexcept | |
Vector (vec_type &&_other) noexcept | |
Vector< size_t, DIM > & | operator= (const Vector< size_t, DIM > &_other) noexcept |
Vector< size_t, DIM > & | operator= (Vector< size_t, DIM > &&_other) noexcept |
const size_t & | operator[] (const unsigned int &i) const noexcept |
size_t & | operator[] (const unsigned int &i) noexcept |
const scalar_type * | elements () const noexcept |
int | size () const noexcept |
const scalar_type & | x () const noexcept |
scalar_type & | x () noexcept |
const scalar_type & | y () const noexcept |
scalar_type & | y () noexcept |
const scalar_type & | z () const noexcept |
scalar_type & | z () noexcept |
const scalar_type & | w () const noexcept |
scalar_type & | w () noexcept |
Additional Inherited Members | |
Public Types inherited from LiteFX::Math::Vector< size_t, 2 > | |
using | scalar_type = size_t |
using | vec_type = Vector< scalar_type, vec_size > |
Static Public Attributes inherited from LiteFX::Math::Vector< size_t, 2 > | |
static constexpr size_t | vec_size |
Protected Attributes inherited from LiteFX::Math::Vector< size_t, 2 > | |
scalar_type | m_elements [vec_size] |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |