Skip to content

Commit 2aa5ed1

Browse files
authored
Update to latest Magnum with more efficient glTF mesh import and various UX improvements (#2551)
* Update to latest Magnum. * assets: contrary to the comment, this was mainly a workaround. In some cases such as depth-only rendering it may be desirable to have for example positions *not* interleaved with the remaining attributes, and this would undo that optimization. The code below however calls mutableIndices(), and without the interleave it blows up because not all meshes have mutable index data, apparently. So we need to expand that check there. * assets: can use this nice helper also. Could also resolve the TODO there because generateIndices() is a thing that works, but don't feel like doing that now. * Use arrayClear() instead of arrayResize(..., 0). * Use the path() and filename() shorthands for Path::split(). * clang format wants to say something?! The machine is so amazing, a human could never format it like this, it would always have some silly slightly different opinion. Result? It makes me *hate* the code I write because it's never good enough for the machine, and I don't enjoy reading the formatted thing either. We've achieved peak technology.
1 parent 35cf4c7 commit 2aa5ed1

20 files changed

+53
-55
lines changed

src/cmake/FindBullet.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
# This file is part of Magnum.
2828
#
2929
# Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
30-
# 2020, 2021, 2022, 2023 Vladimír Vondruš <[email protected]>
30+
# 2020, 2021, 2022, 2023, 2024, 2025
31+
# Vladimír Vondruš <[email protected]>
3132
#
3233
# Permission is hereby granted, free of charge, to any person obtaining a
3334
# copy of this software and associated documentation files (the "Software"),

src/cmake/FindCorrade.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@
277277
# This file is part of Corrade.
278278
#
279279
# Copyright © 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016,
280-
# 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024
280+
# 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025
281281
# Vladimír Vondruš <[email protected]>
282282
#
283283
# Permission is hereby granted, free of charge, to any person obtaining a

src/cmake/FindMagnum.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
# This file is part of Magnum.
209209
#
210210
# Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
211-
# 2020, 2021, 2022, 2023, 2024
211+
# 2020, 2021, 2022, 2023, 2024, 2025
212212
# Vladimír Vondruš <[email protected]>
213213
#
214214
# Permission is hereby granted, free of charge, to any person obtaining a

src/cmake/FindMagnumBindings.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# This file is part of Magnum.
3636
#
3737
# Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
38-
# 2020, 2021, 2022, 2023, 2024
38+
# 2020, 2021, 2022, 2023, 2024, 2025
3939
# Vladimír Vondruš <[email protected]>
4040
#
4141
# Permission is hereby granted, free of charge, to any person obtaining a

src/cmake/FindMagnumIntegration.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
# This file is part of Magnum.
4949
#
5050
# Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
51-
# 2020, 2021, 2022, 2023, 2024
51+
# 2020, 2021, 2022, 2023, 2024, 2025
5252
# Vladimír Vondruš <[email protected]>
5353
# Copyright © 2018 Konstantinos Chatzilygeroudis <[email protected]>
5454
#

src/cmake/FindMagnumPlugins.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
# This file is part of Magnum.
9696
#
9797
# Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
98-
# 2020, 2021, 2022, 2023, 2024
98+
# 2020, 2021, 2022, 2023, 2024, 2025
9999
# Vladimír Vondruš <[email protected]>
100100
# Copyright © 2019 Jonathan Hale <[email protected]>
101101
#

src/deps/corrade

Submodule corrade updated 520 files

src/deps/magnum

Submodule magnum updated 1433 files

src/deps/magnum-bindings

Submodule magnum-bindings updated 131 files

src/deps/magnum-integration

Submodule magnum-integration updated 129 files

0 commit comments

Comments
 (0)