Vladimír Vondruš
c98a936b41
Animation: added a collection of easing functions.
...
This was tremendous fun to make.
8 years ago
Vladimír Vondruš
d7d8e49de2
Math: make all literals usable with Utility::Tweakable.
8 years ago
Vladimír Vondruš
89f7a5ee75
Platform: don't assert on X11 DEs that don't have RESOURCE_MANAGER.
8 years ago
Vladimír Vondruš
a14975cc42
Platform: properly support the MAGNUM_DPI_SCALING environment variable.
8 years ago
Vladimír Vondruš
f42fb83fae
Animation: doc++
8 years ago
Vladimír Vondruš
0dd46e7e37
HTTPS!!
8 years ago
Vladimír Vondruš
6d7558672d
Math: MSVC 2015 constexpr fun!
8 years ago
Vladimír Vondruš
0226ab26c4
Math: make one-dimensional range just from scalar types.
...
Since Range1D is now used all over Animation, the vector made it very
annoying to use. That's fixed now. This is a backwards-incompatible
change, but I don't expect the 1D range to be used much, mainly because
it was so shitty to use. Generic code that needs a vector can always
cast to it, like this:
Math::Vector<dimensions, T>{range.min()}
Test for the constructor from pair is no longer accepting pairs of 1D
vectors. I have no idea what I meant by that test case (it's testing the
same thing twice), so I removed one of these.
8 years ago
Vladimír Vondruš
d6017ad8cc
Math: fixed enable_if for one-dimensional Range-from-pair constructor.
...
This shouldn't have worked like this. Apparently it works even after
this. Huh.
8 years ago
Vladimír Vondruš
ff57f95e99
Math: minor cleanup.
8 years ago
Vladimír Vondruš
b0a1719eb4
Vk: functions for translating generic enums to Vulkan values.
...
Because I don't yet have any source file that's assert-independent, the
MagnumVkObjects library is commented out, as it is completely empty
right now.
8 years ago
Vladimír Vondruš
46781bb195
Vk: a Vulkan.h header that "just includes Vulkan".
...
Similarly to <Magnum/GL/OpenGL.h>, something where you don't need to
think too much about where in MagnumExternal the header is.
8 years ago
Vladimír Vondruš
31b7a39e9d
GL: use CORRADE_IGNORE_DEPRECATED macros where applicable.
8 years ago
Vladimír Vondruš
3c18721c26
GL: better wording.
8 years ago
Vladimír Vondruš
ca0cc0b67c
GL: doc++
8 years ago
Vladimír Vondruš
0728ae687b
GL: rotten leftovers.
8 years ago
Vladimír Vondruš
82ba2a069c
GL: also name the parameters properly.
...
What the heck, really.
8 years ago
Vladimír Vondruš
cd7f67e5c9
GL: make the Array GL::samplerWrapping() work and test it.
...
Also not sure what happened there.
8 years ago
Vladimír Vondruš
67bcb6f347
Properly mark MeshPrimitive members as deprecated.
...
Something weird happened when I was writing this file.
8 years ago
Vladimír Vondruš
597223e993
Math: test a bit more.
8 years ago
Vladimír Vondruš
ebedbce2f2
Math: vector overloads for isInf() and isNan().
8 years ago
Vladimír Vondruš
edff639204
Math: functions were not inline by mistake.
...
It's inline for all others of similar size, so why not this.
8 years ago
Vladimír Vondruš
5792d7f06a
Math: fun with printing NaNs :(
8 years ago
Vladimír Vondruš
24af174f5e
Math: minor cleanup.
8 years ago
Vladimír Vondruš
0cf65741ae
Math: helpfully print the offending values in all assertions.
8 years ago
Vladimír Vondruš
2fd8bae26d
Math: added Range::scaledFromCenter().
8 years ago
Vladimír Vondruš
0f33107efc
Math: no need to de-inline such tiny functions.
8 years ago
Vladimír Vondruš
0557add6e5
SceneGraph: properly forward references in addChild()/addFeature().
8 years ago
Vladimír Vondruš
c1206629a0
SceneGraph: properly test perfect forwarding in addFeature()/addObject().
...
It's not working, obviously.
8 years ago
Vladimír Vondruš
e3e61d8865
Math: ability to multiply/divide a Complex with a Vector2.
8 years ago
Vladimír Vondruš
1a253af761
Math: added Constants::sqrtHalf().
8 years ago
Vladimír Vondruš
9f7512bf2b
Math: improve Constants docs, show useful identities.
8 years ago
Vladimír Vondruš
66a313bc0d
Math: doc++
8 years ago
Vladimír Vondruš
d5fcfd82ec
Animation: pass Key to player callbacks by value, not as const&.
...
It was passed by value everywhere else, but not here. Weird. This is a
breaking change, you need to update all your callbacks from e.g.
[](const Float&, const Vector2&, T&) { ... }
to
[](Float, const Vector2&, T&) { ... }
Fortunately I caught this soon enough before the release, this would be
annoying to change later.
8 years ago
Vladimír Vondruš
de3081042e
Shaders: avoid overflowing alpha with multiple lights.
...
Still not sure what the proper semantics of light alpha should be.
8 years ago
Vladimír Vondruš
08d51ec116
Math: oh, MSVC 2015 constexpr fun is here again.
8 years ago
Vladimír Vondruš
8d5454b8ff
Math: ability to slice or expand square matrices.
8 years ago
Vladimír Vondruš
2c1da5466e
Math: added data() accessors to all remaining types.
8 years ago
Vladimír Vondruš
0793d31d2b
Primitives: new gradient primitive.
8 years ago
Vladimír Vondruš
295843189d
doc: convert shader images to proper sRGB and HiDPI.
8 years ago
Vladimír Vondruš
e7d99a1190
doc: convert primitive renderings to proper sRGB and HiDPI.
...
Quick detour that took me quite an extreme amount of time to finish.
8 years ago
Vladimír Vondruš
641589ed7e
GL: implemented ARB_sample_shading.
8 years ago
Vladimír Vondruš
0431f6bd7d
Platform: expose GL::Renderer::lineWidthRange() in magnum-gl-info.
8 years ago
Vladimír Vondruš
bc5c1df2e6
GL: implemented Renderer::lineWidthRange().
8 years ago
Vladimír Vondruš
9973913b23
GL: don't reset GL context flags in OpenGLTester.
...
Yay, I was bit by this quite soon!
8 years ago
Vladimír Vondruš
7ba24c813c
Platform: expose GL forward compatibility flag also in windowless apps.
...
Similar change to the windowed apps, also resetting it when core context
creation fails or when the workaround is applied. This change is not
done for CGL, iOS and Windows EGL apps, as these are either GLES-only
or, in case of macOS, such flag is not available.
8 years ago
Vladimír Vondruš
c579060922
Platform: ability to override GL forward compatibility in SDL and GLFW.
...
It's enabled by default, but it's possible to explicitly remove the flag
to allow for using features that are not enabled otherwise (such as wide
lines). To make the flag handling easier, there's now also new
addFlags() and clearFlags() methods.
8 years ago
Vladimír Vondruš
f60d2d0d6d
Platform: more consistent docs for features not available on WebGL.
8 years ago
Vladimír Vondruš
d628232e8c
GL: exposing GL::Context::Flag::ForwardCompatible.
8 years ago
Vladimír Vondruš
d228e47223
Platform: forgotten defines in magnum-gl-info.
8 years ago