Vladimír Vondruš
1357186fe1
Math: MSVC 2015 is picky about constexpr again.
...
No clue.
10 years ago
Vladimír Vondruš
b59b8d431e
Math: make Bezier::subdivide() return a pair and test it.
10 years ago
Vladimír Vondruš
8f7fa196a8
Math: renamed Bezier::lerp() to Bezier::value(), simplified test cases.
...
It's interpolation, but *not* linear interpolation, so don't confuse
with the naming. The test cases now compare to ground truth instead of
replicating the calculation.
10 years ago
Vladimír Vondruš
aaa0b0945a
Math: ability to convert Bezier underlying type.
10 years ago
Vladimír Vondruš
73ca103e1a
Math: proper implementation for NoInit and ZeroInit Bezier constructor.
10 years ago
Vladimír Vondruš
4950023f5e
Math: assert that Bezier has non-zero order.
10 years ago
Vladimír Vondruš
6f6d69012f
Math: added comparison operators to Bezier, expanded the test.
10 years ago
Vladimír Vondruš
12e19eff37
Math: ability to save/restore Bezier to/from Configuration.
10 years ago
Vladimír Vondruš
719aff99b2
Math: debug operator for Bezier.
10 years ago
Vladimír Vondruš
62214a288c
Add Bezier typedefs to the root Magnum.h header.
10 years ago
Vladimír Vondruš
4af823a674
Math: add the Bezier class and aliases to the forward declaration header.
10 years ago
Vladimír Vondruš
8bf1f5e5d8
Math: Minor Bézier cleanup and documentation improvements.
...
Removed the points() access function, as it has no real value.
10 years ago
Ashwin Ravichandran
6b7097497f
Math: added Bezier curve
10 years ago
Vladimír Vondruš
2fbc908de2
Trade: initial support for Light data.
10 years ago
Vladimír Vondruš
737e92bc3e
Math: remove unnecessary assignment operators.
...
Caused problems when specifying `noexcept` in classes with members from
Math namespace.
10 years ago
Vladimír Vondruš
326fcf91cb
Trade: doc++
10 years ago
Vladimír Vondruš
db18016ef0
Trade: test construction and assignments of the container classes.
10 years ago
Vladimír Vondruš
1bfa4c9846
Trade: make most constructors and assignments noexcept.
10 years ago
Vladimír Vondruš
7d8b2ce9a6
Print value of invalid enums in debug output, test those cases.
10 years ago
Vladimír Vondruš
3ab77b9112
Stress how Array instances returned from plugins should look like.
10 years ago
Vladimír Vondruš
f3f4f1c779
Platform: include version-specific APIs in Doxygen, too.
10 years ago
Vladimír Vondruš
6a8c121c81
Platform: glfwGetKeyName() is since 3.2.
10 years ago
Vladimír Vondruš
26d0df06b7
Test ResourceState debug output.
10 years ago
Vladimír Vondruš
b969c71403
Audio: minor cleanup.
10 years ago
Vladimír Vondruš
d9f83f1fd2
Audio: test Buffer construction.
10 years ago
Vladimír Vondruš
771b4d517a
Exclude debug operators from code coverage.
10 years ago
Vladimír Vondruš
bd24edd2ad
Platform: doc cleanup.
10 years ago
Vladimír Vondruš
8e632130b8
Platform: added *Application::KeyEvent::keyName().
...
The SDL2 variant works better than expected, however the GLFW variant
underdelivers -- no key names for modifier keys, the accent keys are not
UTF-8... I don't care ATM, will solve it once someone actually
complains.
10 years ago
Vladimír Vondruš
7c631d714a
Platform: expose key repeat in *Application::KeyEvent::isRepeated().
10 years ago
Elliot Saba
c5e22ae560
Platform: send GLFW_REPEAT events through `keyPressEvent()`
10 years ago
Vladimír Vondruš
ac1cda6334
Math: simplify Constants test by making it templated.
10 years ago
Vladimír Vondruš
96e57ff876
Math: simplify the SVD test code by making it templated.
10 years ago
Vladimír Vondruš
d998cb0f76
Fix another pixel storage corner case.
...
The test passes again.
10 years ago
Vladimír Vondruš
612fa59dd6
Test another pixel storage corner case.
...
The calculated size is again larger than expected. This is getting
tiresome.
10 years ago
Vladimír Vondruš
bf393fad59
Math: fix/workaround constexpr test compilation on MSVC 2015.
10 years ago
Vladimír Vondruš
951f116f5b
Math: added RectangularMatrix::flipped{Cols,Rows}().
10 years ago
Vladimír Vondruš
633d792e3d
Math: added Vector::flipped().
10 years ago
Vladimír Vondruš
ab6ffe68ee
Math: Added Algorithms::qr().
10 years ago
Vladimír Vondruš
ed0e4adeda
Text: don't leak AbstractLayouter subclasses.
...
They are passed in a std::unique_ptr<AbstractLayouter> and with the
non-virtual destructor their destructors weren't called. Found by
AddressSanitizer.
10 years ago
Vladimír Vondruš
fab154290c
Fix compilation on not-exactly-recent updates of MSVC 2015.
10 years ago
Vladimír Vondruš
c3e31b69ad
SceneGraph: fix compilation of Camera class with double as T.
...
Thanks to @ManuelK89 for the report. Actually I should add proper test
cases for both float and double version, but I have other high-priority
tasks ATM, so it has to wait until later.
10 years ago
Vladimír Vondruš
ce0941130c
Fix wrongly calculated expected PixelStorage test values on WebGL 1.
10 years ago
Vladimír Vondruš
feecf4009b
Fix build on ES2/WebGL 1.
10 years ago
Vladimír Vondruš
4988c1ccf7
Ability to control the amount of console output in engine initialization.
10 years ago
Vladimír Vondruš
00891e941d
Ability to pass const char** arguments to Platform::Context.
10 years ago
Vladimír Vondruš
176a72653e
Platform: update WindowlessWindowsEglContext to match the WglContext.
...
Applied 78ddfad543 on this class. Also
fixed suspicious window creation -- the private member variable was
never initialized.
10 years ago
Vladimír Vondruš
fbb363e9d0
Platform: work around horrible wglMakeCurrent() API design.
...
It fails when a null HDC parameter is passed to it. WHAT THE HELL.
10 years ago
mdietsch
78ddfad543
Platform: avoid registering WNDCLASS more than once.
...
Fixes an issue when creating the context more than once in a single
application. Also changed the API calls to be explicitly "W" and added
proper error reporting to this part of code.
10 years ago
Vladimír Vondruš
1cfd2dc7b5
Fix image data size computation with pixel storage skip applied.
...
It now tries to find smallest line/rectangle/cube that covers the area.
Previously it was a bit more in some cases.
10 years ago
Vladimír Vondruš
eaeda24399
Don't restrict Double usage on OpenGL ES.
...
Restrict only what's not defined by GL on the ES flavor (double
attributes and uniforms). I love the smell of burning code.
10 years ago