Home
last modified time | relevance | path

Searched refs:Mat3X3 (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/
H A Dmatrix.h45 class Mat3X3 final { in BASE_BEGIN_NAMESPACE()
69 inline constexpr Mat3X3() noexcept : data { 0 } {} in BASE_BEGIN_NAMESPACE()
81 inline ~Mat3X3() = default; in BASE_BEGIN_NAMESPACE()
84 inline constexpr Mat3X3 operator*(const Mat3X3& rhs) const in BASE_BEGIN_NAMESPACE()
95 inline constexpr Mat3X3 operator*(const float& scalar) const in BASE_BEGIN_NAMESPACE()
97 return Mat3X3(x * scalar, y * scalar, z * scalar); in BASE_BEGIN_NAMESPACE()
101 inline constexpr bool operator==(const Mat3X3& mat) const in BASE_BEGIN_NAMESPACE()
112 inline constexpr bool operator!=(const Mat3X3& mat) const in BASE_BEGIN_NAMESPACE()
124 static_assert(sizeof(Mat3X3) == 9 * sizeof(float)); in BASE_BEGIN_NAMESPACE()
126 static constexpr Mat3X3 IDENTITY_3X3(1.f); in BASE_BEGIN_NAMESPACE()
[all …]
H A Dmatrix_util.h33 static inline constexpr Mat3X3 Transpose(const Mat3X3& m) in BASE_BEGIN_NAMESPACE()
35 Mat3X3 result; in BASE_BEGIN_NAMESPACE()
81 static inline constexpr Mat3X3 PostScale(const Mat3X3& mat, const Vec2& vec) in BASE_BEGIN_NAMESPACE()
83 Mat3X3 result; in BASE_BEGIN_NAMESPACE()
102 static inline constexpr Mat3X3 Scale(const Mat3X3& mat, const Vec2& vec) in BASE_BEGIN_NAMESPACE()
104 Mat3X3 result; in BASE_BEGIN_NAMESPACE()
210 Mat3X3 result; in BASE_BEGIN_NAMESPACE()
253 static inline constexpr Mat3X3 Translate(const Mat3X3& mat, const Vec2& vec) in BASE_BEGIN_NAMESPACE()
255 Mat3X3 result(mat); in BASE_BEGIN_NAMESPACE()
357 Mat3X3 inverse; in BASE_BEGIN_NAMESPACE()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dasset_migration.cpp49 { PROPERTYTYPE(Math::Mat3X3), PropertyType::MAT3X3_T }, // Math::Mat3X3 to BASE_NS::Math::Mat3X3
69 …{ PROPERTYTYPE_ARRAY(Math::Mat3X3), PropertyType::MAT3X3_ARRAY_T }, // Math::Mat3X3 to BASE_NS::Ma…
H A Dmaterial_impl.cpp49 … float, int32_t, uint32_t, BASE_NS::Math::Mat3X3, BASE_NS::Math::Mat4X4, bool, CORE_NS::Entity, in BindMetaProperty()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/property/
H A Dproperty_types.h30 class Mat3X3; in BASE_BEGIN_NAMESPACE() local
97 inline constexpr PropertyTypeDecl MAT3X3_T = PROPERTYTYPE(BASE_NS::Math::Mat3X3);
114 inline constexpr PropertyTypeDecl MAT3X3_ARRAY_T = PROPERTYTYPE_ARRAY(BASE_NS::Math::Mat3X3);
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dproperty_util.cpp68 byteSize = sizeof(Math::Mat3X3); in GetPropertyTypeByteSize()
114 return PropertyType::MetaDataFrom<Math::Mat3X3>(nullptr); in GetMetaData()
449 Math::Mat3X3 val; in SetCustomPropertyBlobValue()
451 …Properties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Mat3X3) }); in SetCustomPropertyBlobValue()
H A Dpicking.cpp58 Math::Mat3X3 absWorld; in GetWorldAABB()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/
H A Dregister_value_serializers.cpp91 RegisterSerializer<BASE_NS::Math::Mat3X3>(data, matExport, matImport); in RegisterValueSerializers()
133 UnregisterSerializer<BASE_NS::Math::Mat3X3>(data); in UnRegisterValueSerializers()
H A Dregister_engine_access.cpp52 BASE_NS::Math::Mat3X3,
H A Dregister_anys.cpp59 BASE_NS::Math::Mat3X3,
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/util/
H A Dproperty_util.cpp67 byteSize = sizeof(Math::Mat3X3); in GetPropertyTypeByteSize()
111 return PropertyType::MetaDataFrom<Math::Mat3X3>(nullptr); in GetMetaData()
446 Math::Mat3X3 val; in SetCustomPropertyBlobValue()
448 …Properties.SetValue(offset, array_view { reinterpret_cast<uint8_t*>(&val), sizeof(Math::Mat3X3) }); in SetCustomPropertyBlobValue()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/PropertyTools/
H A Dcore_metadata.inl57 DECLARE_PROPERTY_TYPE(BASE_NS::Math::Mat3X3);
299 BEGIN_METADATA(Mat3x3MetaData, BASE_NS::Math::Mat3X3)
300 DECL_PROPERTY2(BASE_NS::Math::Mat3X3, data, "", 0)
301 END_METADATA(Mat3x3MetaData, BASE_NS::Math::Mat3X3)
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/datastore/
H A Drender_data_store_post_process.cpp48 constexpr uint32_t SIZE_OF_MAT3X3 { sizeof(Math::Mat3X3) };
152 Math::Mat3X3* val = reinterpret_cast<Math::Mat3X3*>(data + offset); in AppendValues()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dmeta_types.h231 META_TYPE(BASE_NS::Math::Mat3X3);
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/
H A Dmetav1_compat.cpp25 …BASE_NS::Math::UVec4, BASE_NS::Math::IVec4, BASE_NS::Math::Quat, BASE_NS::Math::Mat3X3, BASE_NS::M…