Vladimír Vondruš
7e87a24e90
modules: fix a typo causing FindEGL to not be installed when it should.
1 year ago
Vladimír Vondruš
2edf8fde95
Updated toolchains submodule.
1 year ago
Vladimír Vondruš
1d2a1c1b3e
Platform: more unused variable warning fixes on macOS.
...
Followup to cb568c09e5 , where cleaning up
one unused variable led to another variable now being unused. Hopefully
this time it's all.
1 year ago
Vladimír Vondruš
bcf61d4de8
Math: add more -Wdeprecated-literal-operator suppressions.
...
The declarations of all operators already have it, but the direct
operator usage not.
1 year ago
Vladimír Vondruš
9b05985459
doc: avoid warnings about too old CMake version in Getting Started guide.
1 year ago
Vladimír Vondruš
f3ed7a4e1c
doc: link to more recent GLFW and SDL2 in the Getting Started guide.
1 year ago
Stanislaw Halik
d9e19c1bde
MeshTools: include <utility> for std::pair usage in deprecated APIs.
...
Seems that libc++ 19 no longer drags it along with other STL stuff.
1 year ago
Vladimír Vondruš
e9a54f8fec
Trade: document return values of SceneData convenience getters.
2 years ago
Vladimír Vondruš
002a40d0be
CMake: fix version deprecation warning on CMake 3.31.
2 years ago
Vladimír Vondruš
9dab8af6ce
MeshTools: more doc updates.
...
Eh, maybe it eventually reaches a state where I don't have to answer the
same questions over and over and over and over.
2 years ago
Vladimír Vondruš
704de3d1d2
SceneTools: doc++
2 years ago
Vladimír Vondruš
d45411e117
MeshTools: don't use <> for local includes.
2 years ago
Vladimír Vondruš
4161c3a2f3
doc: add an overview page for the MeshTools library.
...
This should have been there for ages already. Not added almost five years
after MeshData became a thing, ffs.
2 years ago
Vladimír Vondruš
ccf9580c33
{Mesh,Scene}Tools: add r-value filter{Attributes,Fields}() overloads.
...
When writing high-level documentation for those I realized that it's
easier to just add the r-value variants than trying to explain why one
has to be careful to not pass r-values there.
2 years ago
Vladimír Vondruš
a0667439df
SceneTools: add reference() and mutableReference() helpers.
...
Matching what's in MeshTools, because I need them to implement other
algorithms that match what's in MeshTools. In other words no idea why I
didn't make these along with copy() already.
2 years ago
Vladimír Vondruš
389c09b395
SceneTools: fix badly copypasted argument name.
2 years ago
Vladimír Vondruš
3f5e2e2268
MeshTools: return filled size from interleaveInto().
...
This ancient API is still useful somewhat I guess, so let's make it less
annoying to use. And also test it properly, including the assert.
2 years ago
Vladimír Vondruš
55504a2d40
Trade: redo MeshData class-level documentation to make more sense.
...
Back in 2020 when I wrote this I didn't really expect the MeshData to be
directly used for much more than putting them on a GPU, mostly because
that used to be the primary use case with the old MeshData2D /
MeshData3D. So the documentation was focusing mainly on populating a GPU
mesh, and any docs for CPU-side access were added rather hastily.
As now the asset processing use case is much larger, the original docs no
longer made sense. Let's hope this is better.
2 years ago
Vladimír Vondruš
32fc6f003d
MeshTools: add a MeshData interleave() overload for loose arrays.
...
It went for so long without such a thing, causing so much suffering.
2 years ago
Vladimír Vondruš
f237bb3c9c
MeshTools: doc++
...
Not too great yet, but at least the most common operations have an
example snippet that shows real use, instead of jumping off a cliff
right into the most detailed description.
2 years ago
Vladimír Vondruš
cb568c09e5
Platform: fix unused variable warnings in {Glfw,Sdl2}Application on macOS.
2 years ago
Vladimír Vondruš
fb2ae21a24
doc: updated credits and changelog.
2 years ago
Andy Maloney
feff9ba763
gdb: Fix missing comma in printers.py
2 years ago
Vladimír Vondruš
f91638c461
AnyImageImporter: recognize also the other Radiance HDR file signature.
2 years ago
Vladimír Vondruš
cf3ed8f6a5
Text: those test cases won't work on GL-less builds either.
...
All this stuff is going to be deprecated soon anyway, but still.
2 years ago
Vladimír Vondruš
645ddd8678
Text: lol @ this TODO.
...
This is all going to get deprecated. Using a string view wouldn't help,
the rest is still too shitty.
2 years ago
Vladimír Vondruš
d50dbe4e0c
Exclude namespaces from forward declaration header docs.
...
They don't document anything, so there's no point in listing them.
2 years ago
Vladimír Vondruš
06b667f275
GL: work around a warning in C++20 mode.
...
New since 7ca7e5a62b , and no, I'm not going
to switch from enums to some static constexpr int. Unless this
changed in recent standards, it still means one can take an address of
it. Which shouldn't be possible for a constant as that could
unnecessarily pessimize its perf.
2 years ago
Vladimír Vondruš
cc309b05cf
doc: documentation for using Magnum via CPM.
2 years ago
Vladimír Vondruš
95b5116fdf
doc: move vcpkg and hunter package docs at the very end.
...
Neither of them really lived up to the expectations, thus distro-native
packages are still the most preferrable.
2 years ago
Vladimír Vondruš
f9f44432bf
CMake: try to clarify that Git version match failure is not an error.
...
The wording was so insufficient that it made people think it's a fatal
error, and subsequently made them suspicious because it seemed like the
fatal error is ignored.
2 years ago
Vladimír Vondruš
cac1767914
Platform: haha, Doxygen Markdown parser is broken here, haha!
...
Note to self: look at the docs at least once before copying a broken
markup all over the place.
2 years ago
Vladimír Vondruš
7615cc3c8b
GL: be clearer about the offset being *bytes*.
...
Eh, the whole class needs a serious doc update.
2 years ago
Vladimír Vondruš
f91ce08591
Trade: mention upfront that all *Data are basically immutable.
2 years ago
Vladimír Vondruš
2c6f9963fb
Platform: deprecate Sdl2Application MultiGestureEvent.
...
The more I looked at it, the more useless it felt. Also, since it's so
broken, I'm also completely removing it from the test because there's no
point in even testing it.
2 years ago
Vladimír Vondruš
c7d1d6df73
doc: order magnum-integration after magnum-extras in building docs.
...
There will be integration libraries for the UI library, making it depend
on extras.
2 years ago
Vladimír Vondruš
9e6de1b4df
Doc++
2 years ago
Vladimír Vondruš
ef133cbadd
package/rpm: go back to the package name being a variable.
...
The script is exactly the same across repos, this makes it easier to
update in bulk.
2 years ago
Vladimír Vondruš
0c2fbfdc77
package/rpm: don't build source packages.
2 years ago
Vladimír Vondruš
d040c4a88c
package/rpm: make corrade-devel a build dependency.
2 years ago
Vladimír Vondruš
654ae9d2fb
package/rpm: wrong license header copypaste.
2 years ago
Vladimír Vondruš
7808658587
Platform: try to clarify what PointerMoveEvent::pointer() is for.
2 years ago
Vladimír Vondruš
69d02ad59b
Platform: new TwoFingerGesture helper.
2 years ago
Vladimír Vondruš
7300be7f3f
Platform: looks like I forgot how to C++ here.
2 years ago
Vladimír Vondruš
a1ff473be1
Platform: don't install GLContext.h on GL-less builds.
2 years ago
Vladimír Vondruš
4928538231
SceneGraph: add Object::addFeature().
...
Compared to AbstractObject::addFeature() it passes a concrete Object
type to the feature constructor, which makes it work in more cases.
2 years ago
Vladimír Vondruš
8553c2313b
Platform: ugh, documentation should not be an afterthought.
2 years ago
Vladimír Vondruš
049a3f8fce
Platform: document why tickEvent() isn't private.
...
I attempted to make it private only to discover it was used by Magnum
Player to make the workflow with opt-in tweakable constants more
efficient. So let's document that.
2 years ago
Vladimír Vondruš
1084a16362
package/ci: use Node.js 18 on the WebGL 2 build to test WASM SIMD.
...
Matches the change done in Corrade.
2 years ago
Vladimír Vondruš
899fbc29d5
Updated toolchains submodule.
2 years ago