 |
Flutter Impeller
|
|
Go to the documentation of this file.
9 #include "flutter/fml/build_config.h"
88 return v.
x ==
x && v.
y ==
y && v.
z ==
z && v.
w ==
w;
92 return v.
x !=
x || v.
y !=
y || v.
z !=
z || v.
w !=
w;
116 return v.
x ==
x && v.
y ==
y && v.
z ==
z;
120 return v.
x !=
x || v.
y !=
y || v.
z !=
z;
142 return v.
x ==
x && v.
y ==
y;
146 return v.
x !=
x || v.
y !=
y;
150 static_assert(
sizeof(Half) ==
sizeof(uint16_t));
151 static_assert(
sizeof(HalfVector2) == 2 *
sizeof(Half));
152 static_assert(
sizeof(HalfVector3) == 3 *
sizeof(Half));
153 static_assert(
sizeof(HalfVector4) == 4 *
sizeof(Half));
constexpr HalfVector4(const Color &a)
constexpr HalfVector3(const Vector3 &a)
constexpr bool operator==(const HalfVector3 &v) const
constexpr bool operator==(const HalfVector4 &v) const
A storage only class for half precision floating point vector 2.
constexpr HalfVector2(const Vector2 &a)
constexpr HalfVector4(InternalHalf x, InternalHalf y, InternalHalf z, InternalHalf w)
constexpr bool operator!=(const HalfVector2 &v) const
std::ostream & operator<<(std::ostream &out, const impeller::Color &c)
constexpr Half(InternalHalf x)
constexpr Half(double value)
constexpr HalfVector3(InternalHalf x, InternalHalf y, InternalHalf z)
A storage only class for half precision floating point.
constexpr bool operator==(const Half &v) const
constexpr InternalHalf ScalarToHalf(Scalar f)
Convert a scalar to a half precision float.
constexpr HalfVector2(InternalHalf x, InternalHalf y)
A storage only class for half precision floating point vector 3.
constexpr HalfVector4(const Vector4 &a)
constexpr bool operator!=(const HalfVector4 &v) const
constexpr Half(Scalar value)
A storage only class for half precision floating point vector 4.
constexpr Half(int value)
constexpr bool operator==(const HalfVector2 &v) const
constexpr bool operator!=(const Half &v) const
constexpr bool operator!=(const HalfVector3 &v) const