Vladimír Vondruš
b121e8758a
Math: added Vector::pad().
11 years ago
Vladimír Vondruš
6372711260
Math: save one swizzle in Vector3::cross().
...
There was also an error in the original equation (docs only, though).
11 years ago
Vladimír Vondruš
70150a8845
Don't use `return std::move()` where it is not needed.
11 years ago
Vladimír Vondruš
8882f62842
Text: clarified comments.
11 years ago
Vladimír Vondruš
2e43eb3dd4
Fix Doxygen warning.
11 years ago
Bill Robinson
80e01ae18d
Math: added Matrix4::lookAt().
11 years ago
Vladimír Vondruš
3884359ac8
Forgotten file.
...
Sorry.
11 years ago
Vladimír Vondruš
7a6ed6abfa
SceneGraph: avoid weird attribute warnings on GCC.
...
Attributes for enums are apparently not a feature yet, will be part of
C++17 (but Clang has it already).
11 years ago
Vladimír Vondruš
7fd539882c
Platform: include DebugGroup::maxStackDepth() in magnum-info.
11 years ago
Vladimír Vondruš
c3d9f7a72b
Support for debug groups from KHR_debug and EXT_debug_marker.
...
Had to rework the API a bit, the original one (everything through
DebugMessage) should be still available, but marked as deprecated (and
will be removed in some future release).
The whole cycle of reading up on a feature, understanding the feature,
understanding the bigger concept under the feature and then having
understood everything so thoroughly so I can document the functionality
is time consuming.
11 years ago
Vladimír Vondruš
696856e8aa
Doc++
11 years ago
Vladimír Vondruš
3ca8fe7e6c
TgaImageConverter, TgaImporter: fix linking of tests on Windows.
...
Dllimport hell at its finest.
11 years ago
Vladimír Vondruš
5c75770a1b
TgaImageConverter, TgaImporter: export symbols only on dynamic build.
...
Mainly to fix linker errors on Windows when using static plugins as
dependencies of other plugins. Don't even let me get started on how much
I hate the dllexport/dllimport hell.
11 years ago
Vladimír Vondruš
ded991a74b
MagnumPlugins: respect BUILD_PLUGINS_STATIC and not BUILD_STATIC.
...
Also set dynamic-only properties only when building dynamic plugins.
11 years ago
Vladimír Vondruš
127970eda1
Text: no need to pollute header with internal functions.
11 years ago
Vladimír Vondruš
0fcf763900
Fix off-by-one errors when converting const char[] to string.
...
The AbstractShaderProgramGLTest now passes again.
11 years ago
Vladimír Vondruš
2ed432aeb1
Test output from AbstractShaderProgram::uniformLocation().
...
Fails.
11 years ago
Vladimír Vondruš
bad9a20f64
Test cleanup.
11 years ago
Vladimír Vondruš
fd0bfcb465
Get rid of annoying unsigned byte arrays.
...
`char*` is now the default type for byte arrays. Results in shorter
code, less annoyances and more convenient testing. As is the case with
Corrade, I'm not doing any compatibility/deprecation layer, as most of
these functions is not widely used anyway.
11 years ago
Vladimír Vondruš
61b1528b2f
Fix ES build, again.
11 years ago
Vladimír Vondruš
fc7f6e37fc
Oh, this is still needed.
...
Yay to me for breaking the build thrice in an hour!
11 years ago
Vladimír Vondruš
ae6e16b356
Doc++
11 years ago
Vladimír Vondruš
a9bfbbd08e
Deprecated Mesh::maxVertexAttributes().
...
It is not related to Mesh itself at all, as the attribute indices are
defined in Attribute class. Use
AbstractShaderProgram::maxVertexAttributes() instead.
11 years ago
Vladimír Vondruš
b1e496657e
Fixed compilation on Emscripten (and probably NaCl).
11 years ago
Vladimír Vondruš
789eb8e47b
Platform: WindowlessWglApplication cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming.
11 years ago
Vladimír Vondruš
f0146822c2
Platform: WindowlessGlxApplication cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming.
11 years ago
Vladimír Vondruš
d54be041c4
Platform: WindowlessCglApplication cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming, better error checks, improved error messages, replaced
C-style casts with constructor casts.
Doing this blindly, hopefully I didn't break anything :)
11 years ago
Vladimír Vondruš
f10cf91f6b
Platform: GlutApplication cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming.
11 years ago
Vladimír Vondruš
59477d04f8
Platform: Sdl2Application cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming.
11 years ago
Vladimír Vondruš
22d1a5c34e
Platform: AbstractXApplication cleanup.
...
Using std::unique_ptr instead of raw pointer, consistent private
variable naming.
11 years ago
Vladimír Vondruš
61d72f86c3
Test that version comparison compiles and works as expected.
11 years ago
Vladimír Vondruš
4b8406b418
Platform: instantiate ScreenedApplication also for AndroidApplication.
11 years ago
Vladimír Vondruš
6961bcd4d3
Platform: clarify comments.
11 years ago
Vladimír Vondruš
ede9acbde4
Document default values on viewport and scissor rectangles.
11 years ago
Vladimír Vondruš
0f0882bdac
Cleanup.
11 years ago
Vladimír Vondruš
90b519c4d2
Math: improve Constants test, fix Clang compilation.
11 years ago
Vladimír Vondruš
2c0e1d2822
Fix ES2 build.
11 years ago
Vladimír Vondruš
f30a4677eb
Math: added Matrix[34]::shearing*().
11 years ago
Vladimír Vondruš
697a6aa0df
Test cleanup.
11 years ago
Vladimír Vondruš
c71dc12503
Making test declarations more compact.
...
Yet again I experienced how insanely large this thing got over the
years.
11 years ago
Vladimír Vondruš
f81124e220
MeshTools: avoid global state in Tipsify test.
11 years ago
Vladimír Vondruš
f3bd987dc1
Primitives: remove oboslete code in test.
11 years ago
Vladimír Vondruš
6488fe6e75
Oh, it's 2015 already.
11 years ago
Vladimír Vondruš
3ae17b5bed
Math: faster quaternion/vector multiplication.
...
Source: https://molecularmusings.wordpress.com/2013/05/24/a-faster-quaternion-vector-multiplication/
11 years ago
Vladimír Vondruš
ba88567710
Remove redundant `inline` keyword.
11 years ago
Vladimír Vondruš
9fd25a1fd8
SceneGraph: there is never enough documentation.
11 years ago
Vladimír Vondruš
bd8db7e66b
Don't reset viewport if binding framebuffer for reading only.
...
Caused assertion. Anyway, I need to clean up that mess with framebuffer
binding. Nobody needs to bind it for reading.
11 years ago
Vladimír Vondruš
4caeb30f7b
Shaders: there's never enough documentation.
...
Each shader now has sample image, example mesh configuration and example
rendering setup. Also properly documented all attribute types and made
introductory chapter for whole Shaders namespace.
11 years ago
Vladimír Vondruš
371700097b
Allow method chaining on *Framebuffer::clear().
...
In the future, when I get to implement proper DSA clearing, this won't
change currently bound framebuffer and thus it might be useful to be
able to call bind() right after, e.g.:
framebuffer.clear(FramebufferClear::Color)
.bind(FramebufferTarget::ReadDraw);
11 years ago
Vladimír Vondruš
13e6f13a2d
Fix allocation error in FramebufferGLTest.
...
Forgot that Range constructor takes (min, max) and not (min, size).
Everything else changed by 60d1259483 is
not affected, as `min` is set to `{}`.
11 years ago