|
using | array_type = simd<float, 4> |
|
using | value_type = array_type::value_type |
|
|
constexpr | scale3 (scale3 const &) noexcept=default |
|
constexpr | scale3 (scale3 &&) noexcept=default |
|
constexpr scale3 & | operator= (scale3 const &) noexcept=default |
|
constexpr scale3 & | operator= (scale3 &&) noexcept=default |
|
constexpr | scale3 (scale2 const &other) noexcept |
|
constexpr | operator scale2 () const noexcept |
|
constexpr | operator f32x4 () const noexcept |
|
constexpr | scale3 (f32x4 const &v) noexcept |
|
constexpr | scale3 (vector3 const &v) noexcept |
|
constexpr | scale3 (float value) noexcept |
|
constexpr | scale3 (float x, float y, float z=1.0f) noexcept |
|
constexpr bool | holds_invariant () const noexcept |
|
constexpr float & | x () noexcept |
|
constexpr float & | y () noexcept |
|
constexpr float & | z () noexcept |
|
constexpr float | x () const noexcept |
|
constexpr float | y () const noexcept |
|
constexpr float | z () const noexcept |
|
|
static constexpr scale3 | uniform (extent3 src_extent, extent3 dst_extent) noexcept |
| Get a uniform-scale-transform to scale an extent to another extent.
|
|
|
constexpr friend bool | operator== (scale3 const &lhs, scale3 const &rhs) noexcept |
|
◆ uniform()
|
inlinestaticconstexprnoexcept |
Get a uniform-scale-transform to scale an extent to another extent.
- Parameters
-
src_extent | The extent to transform |
dst_extent | The extent to scale to. |
- Returns
- a scale to transform the src_extent to the dst_extent.
The documentation for this class was generated from the following file: