Skip to content

Commit

Permalink
Merge branch 'AcademySoftwareFoundation:main' into gltf_mtlx_interop_…
Browse files Browse the repository at this point in the history
…json
  • Loading branch information
kwokcb authored Sep 1, 2023
2 parents 26a6487 + 4c0f613 commit 279f90e
Show file tree
Hide file tree
Showing 4 changed files with 203 additions and 118 deletions.
3 changes: 2 additions & 1 deletion python/setup.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ setup(name='MaterialX',
url='www.materialx.org',
version='${MATERIALX_MAJOR_VERSION}.${MATERIALX_MINOR_VERSION}.${MATERIALX_BUILD_VERSION}',
packages=['MaterialX'],
package_data={'MaterialX' : getRecursivePackageData('MaterialX')})
package_data={'MaterialX' : getRecursivePackageData('MaterialX')},
zip_safe = False)
14 changes: 7 additions & 7 deletions source/MaterialXCore/Types.h
Original file line number Diff line number Diff line change
Expand Up @@ -592,9 +592,9 @@ class MX_CORE_API Matrix33 : public MatrixN<Matrix33, float, 3>
float m20, float m21, float m22) :
MatrixN(Uninit{})
{
_arr = { m00, m01, m02,
m10, m11, m12,
m20, m21, m22 };
_arr = { RowArray{ m00, m01, m02 },
RowArray{ m10, m11, m12 },
RowArray{ m20, m21, m22 } };
}

/// @name Matrix Operations
Expand Down Expand Up @@ -663,10 +663,10 @@ class MX_CORE_API Matrix44 : public MatrixN<Matrix44, float, 4>
float m30, float m31, float m32, float m33) :
MatrixN(Uninit{})
{
_arr = { m00, m01, m02, m03,
m10, m11, m12, m13,
m20, m21, m22, m23,
m30, m31, m32, m33 };
_arr = { RowArray{ m00, m01, m02, m03 },
RowArray{ m10, m11, m12, m13 },
RowArray{ m20, m21, m22, m23 },
RowArray{ m30, m31, m32, m33 } };
}

/// @name Matrix Operations
Expand Down
Loading

0 comments on commit 279f90e

Please sign in to comment.