Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Magnum and m.css to latest #2309

Merged
merged 2 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/m.css
Submodule m.css updated 157 files
2 changes: 1 addition & 1 deletion src/deps/magnum
Submodule magnum updated 41 files
+6 −0 doc/changelog.dox
+3 −0 package/archlinux/PKGBUILD-emscripten-wasm
+3 −0 package/archlinux/PKGBUILD-emscripten-wasm-webgl2
+1 −1 src/Magnum/Animation/Easing.h
+5 −5 src/Magnum/Math/Color.h
+2 −1 src/Magnum/Math/Matrix.h
+55 −1 src/Magnum/Math/Quaternion.h
+24 −0 src/Magnum/Math/Range.h
+43 −40 src/Magnum/Math/RectangularMatrix.h
+2 −0 src/Magnum/Math/Test/BezierTest.cpp
+46 −0 src/Magnum/Math/Test/ColorTest.cpp
+2 −2 src/Magnum/Math/Test/ComplexTest.cpp
+2 −0 src/Magnum/Math/Test/DualComplexTest.cpp
+2 −0 src/Magnum/Math/Test/DualQuaternionTest.cpp
+2 −0 src/Magnum/Math/Test/DualTest.cpp
+3 −3 src/Magnum/Math/Test/FunctionsBenchmark.cpp
+3 −3 src/Magnum/Math/Test/InterpolationBenchmark.cpp
+8 −8 src/Magnum/Math/Test/IntersectionBenchmark.cpp
+2 −0 src/Magnum/Math/Test/Matrix3Test.cpp
+2 −0 src/Magnum/Math/Test/Matrix4Test.cpp
+5 −5 src/Magnum/Math/Test/MatrixBenchmark.cpp
+6 −0 src/Magnum/Math/Test/MatrixTest.cpp
+83 −4 src/Magnum/Math/Test/QuaternionTest.cpp
+30 −0 src/Magnum/Math/Test/RangeTest.cpp
+139 −83 src/Magnum/Math/Test/RectangularMatrixTest.cpp
+1 −0 src/Magnum/Math/Test/SwizzleTest.cpp
+2 −0 src/Magnum/Math/Test/UnitTest.cpp
+28 −0 src/Magnum/Math/Test/Vector2Test.cpp
+28 −0 src/Magnum/Math/Test/Vector3Test.cpp
+36 −4 src/Magnum/Math/Test/Vector4Test.cpp
+3 −3 src/Magnum/Math/Test/VectorBenchmark.cpp
+516 −64 src/Magnum/Math/Test/VectorTest.cpp
+696 −654 src/Magnum/Math/Vector.h
+1 −1 src/Magnum/Math/Vector2.h
+1 −1 src/Magnum/Math/Vector3.h
+4 −4 src/Magnum/Math/Vector4.h
+15 −0 src/Magnum/Platform/EmscriptenApplication.h
+0 −1 src/Magnum/SceneTools/Test/MapTest.cpp
+2 −1 src/Magnum/Trade/MaterialData.h
+16 −9 src/Magnum/Trade/MeshData.h
+1 −1 src/Magnum/Vk/DeviceCreateInfo.h
2 changes: 1 addition & 1 deletion src/deps/magnum-plugins
5 changes: 4 additions & 1 deletion src/esp/bindings_js/bindings_js.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,10 @@ EMSCRIPTEN_BINDINGS(habitat_sim_bindings_js) {
.function("transformVector", &Magnum::Quaternion::transformVector)
// mul class method instead of operator*
.class_function("mul", &Quaternion_mul)
.class_function("rotation", &Magnum::Quaternion::rotation);
.class_function("rotation",
em::select_overload<Magnum::Quaternion(
const Magnum::Vector3&, const Magnum::Vector3&)>(
&Magnum::Quaternion::rotation));

em::class_<AgentConfiguration>("AgentConfiguration")
.smart_ptr_constructor("AgentConfiguration",
Expand Down