Vladimír Vondruš
71b775aeb1
Math: minor test cleanup.
6 years ago
Vladimír Vondruš
d4f7c853ae
Math: make Constants::inf() work with clang-cl 8.
...
Using a similar workaround as for nan(). It works with version 9 tho.
6 years ago
Vladimír Vondruš
3b940f2509
doc: avoid referencing the deprecated Math::swizzle() function.
6 years ago
Vladimír Vondruš
9aa68715db
Math: preserve signs in the Matrix[34]::scaling() getter.
...
This is a breaking change, but I think it is worth doing. Because now
Matrix4::scaling(vec).scaling() == vec
which was true also for translation and other.
6 years ago
Vladimír Vondruš
2a12ca14e3
MeshTools: test compile() with both flat and smooth normals requested.
...
And clarify the docs about what gets the priority.
6 years ago
Vladimír Vondruš
84ac43d2ce
GL: avoid picking up variadic Mesh::addVertexBuffer() for dynamic attribs.
...
Huh, the SFINAE thing was extremely easy.
6 years ago
Vladimír Vondruš
61af7672d1
Test: adapted for the upcoming asserting CORRADE_GRACEFUL_ASSERT.
6 years ago
Vladimír Vondruš
50ac6d1a13
Test: fix false sense of security in pixel/mesh enum mapping tests.
...
The stripped-down versions didn't actually test for correct order
because there was no external API result to check against expected
output. That's fixed now, plus clarified some comments and removed
copypasted nonsense.
6 years ago
Vladimír Vondruš
bf43767531
doc: mark these as new in 2019.10.
6 years ago
Vladimír Vondruš
86c589d44a
Shorten assertion messages in Image{Data,View,} constructors.
6 years ago
Vladimír Vondruš
6f535632f4
MeshTools: improve coverage BY ONE WHOLE LINE.
6 years ago
Vladimír Vondruš
31a7c4f66e
Platform: check for presence of GLFW cursor defines instead of a version.
...
Makes this work on older Git clones which have version set as 3.4 but
don't contain those defines yet.
6 years ago
Vladimír Vondruš
6fbedd8f52
Revert "doc: pile on more Doxygen workarounds."
...
This reverts commit 0b7831c1ad .
6 years ago
Vladimír Vondruš
2a57401218
Trade: doc++
6 years ago
Vladimír Vondruš
c94c462187
Doc++, updated changelog.
6 years ago
Marco Melorio
1b1c12a56f
GlfwApplication: added new GLFW 3.4 resizing cursors.
6 years ago
Vladimír Vondruš
31a08cf573
MeshTools: use a range-based minmax in removeDuplicates().
6 years ago
Vladimír Vondruš
7cbd7c703b
MeshTools: fix an OOB access in tipsify().
6 years ago
Vladimír Vondruš
6b1d4a4f08
MeshTools: regression test for an OOB access in tipsify().
...
That was harder than I thought.
6 years ago
Vladimír Vondruš
a66c9f5897
MeshTools: a better name for a variable.
...
This is what the buildAdjacency() function uses, so why be different.
6 years ago
Vladimír Vondruš
47760294fc
MeshTools: retroactively fire the 2010 edition of me.
...
Reason: a serious case of overengineerism.
What's the point of those useless "functor" classes, anyway?
6 years ago
Vladimír Vondruš
631032749d
Platform: clarify a comment so I don't waste time here again.
6 years ago
Vladimír Vondruš
9d5064c857
Platform: fix Sdl2Application::setSwapInterval(0) + setMinLoopPeriod().
...
It thought VSync was enabled even when it was set to 0. Also clarified
the docs a bit.
6 years ago
Vladimír Vondruš
bdd270368d
Primitives: make the Icosphere test less awful.
...
This also doubles down as a regression test for the subdivide() and
removeDuplicates() mesh tools.
6 years ago
Vladimír Vondruš
a19eb4e4a8
doc: DOXYGEN! WHAT THE HELL!
6 years ago
Vladimír Vondruš
c5dd075106
doc: Doxygen, what the hell.
6 years ago
Vladimír Vondruš
0b7831c1ad
doc: pile on more Doxygen workarounds.
...
Sad! https://github.com/doxygen/doxygen/issues/7472
6 years ago
Vladimír Vondruš
bec180fcf0
Doc++
6 years ago
Vladimír Vondruš
c1f43709fd
doc: sweeping update of CMake usage instructions.
...
Putting more emphasis into CMake subproject setup.
6 years ago
Vladimír Vondruš
9ae20a0a67
doc: fix mismatched enum value links.
...
Doxygen 1.8.17 *finally* fixes enum value linking and so linking to
Enum::Value via TotallyArbitraryString::Value no longer works. That
uncovered a ton of documentation errors.
A welcome improvement, for once.
6 years ago
Vladimír Vondruš
d6718aaa1d
doc: use PRIVATE in target_link_libraries() CMake snippets.
...
The keyword-less version is discouraged for quite some time already.
6 years ago
Vladimír Vondruš
5a3288154b
Platform: properly include SDL_main.h for iOS.
...
Got missed when cleaning up the 50kLOC header mess in
b73b9cb408 (Nov 2018). Sorry!
6 years ago
Vladimír Vondruš
d64a67ab63
Platform: this error message was beyond useless.
6 years ago
Vladimír Vondruš
7ced4740fd
Silence a bunch of macOS-specific warnings.
6 years ago
Vladimír Vondruš
9c8a3b6c39
Adapt to Corrade changes.
6 years ago
Vladimír Vondruš
91fc09e3e9
Prefix internal Resource members with an underscore.
6 years ago
Vladimír Vondruš
eda984c9c9
Made Resource nothrow-movable.
...
Otherwise it can't be used in growable Arrays (and std::vector copies it
instead of moving when reallocating).
6 years ago
Vladimír Vondruš
2eaa9f2ceb
Add explicit tests for Resource constructors.
6 years ago
Vladimír Vondruš
55b18efe43
Test that [Compressed]Image is nothrow movable.
...
Trade::ImageData has this, but not here. Not sure why I forgot.
6 years ago
Vladimír Vondruš
e603771cef
Platform: fix EmscriptenApplication mouse events with Emscripten master.
...
The canvasX/Y properties were silently deprecated (I wouldn't know
without looking at the source, the docs say no such thing) and when
-s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1 is enabled, these are
not initialized to any meaningful value.
6 years ago
Vladimír Vondruš
34261840bc
GL: expand ARB_DSA blacklisting on Intel Windows drivers a bit further.
...
This should finally fix all remaining Intel Windows driver issues.
Hopefully. Or at least until the next major driver update.
6 years ago
Vladimír Vondruš
28fdfad0ec
MeshTools: suppress a Clang warning in a test.
6 years ago
Vladimír Vondruš
dc56bf413a
DebugTools: update test to pass on clang-cl.
...
NaN printing strikes again.
6 years ago
Vladimír Vondruš
f831be7031
GL: clang-cl is this what you want?
6 years ago
Vladimír Vondruš
fbfb060b46
Animation: export just the function to avoid clang-cl complaining.
...
If it's on the class, it complains it's ignored.
6 years ago
Vladimír Vondruš
323829ac15
Work around clang-cl forgetting dllexport on extern templates.
6 years ago
Vladimír Vondruš
f7f676e01d
DebugTools: remove unused declaration in a test.
...
THis one is split into imageFileZeroDelta() and imageFileNonZeroDelta().
6 years ago
Vladimír Vondruš
f077fc1ada
DebugTools: update test to pass with newer Emscripten on the CI.
6 years ago
Vladimír Vondruš
c527c26a6e
GL: fix clang-cl warning about C-incompatible function signatures.
6 years ago
Vladimír Vondruš
32eb99890e
Platform: silence clang-cl warnings from internal SDL headers.
6 years ago