Vladimír Vondruš
928104bb0a
Failed attempt to resolve Doxygen file conflicts.
...
Found even more stuff broken -- copied contents of
Corrade::Utility::Directory::Flags into Magnum::Context::Flags (WTF!),
asterisks in code listings... IS IT SO HARD TO FIX ONE THING AND DON'T
BREAK THOUSAND OTHERS, DAMMIT??
13 years ago
Vladimír Vondruš
346589732f
Doc: updated portability page.
13 years ago
Vladimír Vondruš
ff0d6a2d3c
Doc: reworded and improved compilation speedup page.
13 years ago
Vladimír Vondruš
91dc9f8956
std::decay in fact does the thing we need.
...
Exactly this approach is used in e.g. std::make_optional, as seen on
cppreference.com. Improves 68638969f3 .
13 years ago
Vladimír Vondruš
d056a0be38
Added todo for the time when GCC 4.6 support is dropped.
13 years ago
Vladimír Vondruš
5ff1020dcd
Math: added Vector::isZero().
13 years ago
Vladimír Vondruš
eb932381fc
Minor documentation fixes.
13 years ago
Vladimír Vondruš
ae390f89b0
Merge branch 'master' into compatibility
13 years ago
Vladimír Vondruš
e236fc7e8a
DebugTools: explicitly define destructor in source file.
...
Fixes Clang warning about deletion of forward-declared MeshView, causing
undefined behavior.
13 years ago
Vladimír Vondruš
39e70907f2
Audio: use proper Array constructor.
...
Spotted with Clang.
13 years ago
Vladimír Vondruš
030c6f4631
More documentation improvement.
13 years ago
Vladimír Vondruš
79723f6b62
Merge branch 'master' into compatibility
13 years ago
Vladimír Vondruš
e7ed02dd62
Improved Design Goals in documentation.
13 years ago
Vladimír Vondruš
5ad5ab2c5a
Renamed Mesh::addInterleavedVertexBuffer() to addVertexBuffer().
...
Obvious change after previous commit, there is no other function
alternative to distinguish it from.
13 years ago
Vladimír Vondruš
7dd2bed63a
Removed unneeded Mesh::add*VertexBuffer*().
...
It is possible to do everything with Mesh::addInterleavedVertexBuffer().
Moreover Mesh::addVertexBuffer() was dependent on vertex count, which
was counterintuitive and not always what the user wants. Also in many
times I mistakenly used Mesh::addVertexBuffer() instead of
Mesh::addInterleavedVertexBuffer() and then spent endless hours trying
to figure out what is wrong. This is now over. Thanks, brain!
13 years ago
Vladimír Vondruš
6bd22d5cca
Merge branch 'master' into compatibility
13 years ago
Vladimír Vondruš
d579e0e2c6
MeshTools: return pointer to buffer from fullScreenTriangle().
...
On systems without VAOs and without gl_VertexID the buffer needs to be
bound before every draw call. This way the buffer reference would become
dangling one, because the buffer is moved out somewhere else. Now
creating it on heap and returning pointer instead.
This multiple code path implementation is really starting to pay out,
yay!
13 years ago
Vladimír Vondruš
1530cb352e
Merge branch 'master' into compatibility
13 years ago
Vladimír Vondruš
2ea54cd395
GCC 4.4 compatibility: some explicit typing needed.
13 years ago
Vladimír Vondruš
c29cc0f8db
Trade: something got f'ed up in 9d0c6b44de.
13 years ago
Vladimír Vondruš
e2635345fa
Merge branch 'master' into compatibility
...
Conflicts:
src/Primitives/Plane.cpp
src/Primitives/Square.cpp
src/SceneGraph/SceneGraph.h
13 years ago
Vladimír Vondruš
c6d56f32f2
Use `sdl2` dependency in ArchLinux development package.
13 years ago
Vladimír Vondruš
95bb709a1d
MeshTools: added fullScreenTriangle() utility function.
...
I got bored of copy/pasting and redocumenting/redebugging this code in
every full screen effect ever implemented.
13 years ago
Vladimír Vondruš
01098478ed
Adapted to Corrade changes.
13 years ago
Vladimír Vondruš
64633793a3
Properly use C++11 enums everywhere.
13 years ago
Vladimír Vondruš
a7522e54ec
Assert that the file is really closed after closing it in importer.
...
Should harden plugin implementations a bit more.
13 years ago
Vladimír Vondruš
06f750068a
Primitives: added texture coordinates to Plane and Square primitives.
13 years ago
Vladimír Vondruš
cd2a8b74ac
Noexcept moving for Buffer, documented inability to copy.
13 years ago
Vladimír Vondruš
a168d2af4e
Proper noexcept move constructor for Mesh.
...
Also documented the inability to copy.
13 years ago
Vladimír Vondruš
9f64e86584
TextureTools: added `magnum-distancefield` utility.
...
Standalone command-line executable allowing for easy conversion of
black&white images to distance field texture.
13 years ago
Vladimír Vondruš
840b8be08c
Removed enum-referencing Doxygen workarounds.
13 years ago
Vladimír Vondruš
c279a161db
Removed annoying Doxygen workaround for #undef.
13 years ago
Vladimír Vondruš
ac3fe7cdf5
Removed Doxygen workarounds for forward declarations.
13 years ago
Vladimír Vondruš
13d5e2a50f
Removed enum-referencing Doxygen workarounds.
...
In 1.8.5 it is now possible to reference directly to enum member.
Hooray! Also added explicit @ref here and there, fixing some referencing
bugs along the way.
13 years ago
Vladimír Vondruš
53f15288e6
Merge branch 'master' into compatibility
13 years ago
Vladimír Vondruš
c585acd969
Use non-default initial clear color in Renderer.
...
Set it to some non-trivial value to achieve these two things:
* Some "corporate identity", I find very dark gray nicer than pure
black.
* Easier "black screen" debugging. Native Client, for example, by
default clears to pure white, which caused me painful hours figuring
out what the hell is going on.
13 years ago
Vladimír Vondruš
8debb996a1
Blame the right Windows header for these insane defines.
...
Everyone is fired.
13 years ago
Vladimír Vondruš
2cc44bec5d
Merge branch 'master' into compatibility
13 years ago
Vladimír Vondruš
1b6ef7e0bd
Platform: updated markup to be valid HTML5.
13 years ago
Vladimír Vondruš
3f53a7a1ca
Shaders: don't set uniform if not used.
13 years ago
Vladimír Vondruš
8991137f51
Merge branch 'master' into compatibility
13 years ago
Vladimír Vondruš
f02d30b499
Disable building of Audio library in Native Client for now.
...
We now support NaCl 25, which doesn't have bundled OpenAL and I don't
feel like bumping the version to 27 yet.
13 years ago
Vladimír Vondruš
429d5d46d7
Include OpenGL headers instead of trying to be smart.
...
I hoped the typedef was the same everywhere, but apparently ES has
something else, which is typedef'd recursively and I don't want to
maintain the consequences when porting elsewhere.
13 years ago
Vladimír Vondruš
2ab37ba2a1
Fixed OpenGL ES 2.0 compatibility.
...
Issues related to lack of glDrawRangeElements().
13 years ago
Vladimír Vondruš
bbcfe211a6
GCC 4.4 compatibility: linker error with defaulted destructor.
...
Again.
13 years ago
Vladimír Vondruš
a2de03d564
GCC 4.4 compatibility: disable strict-aliasing again.
...
It breaks transformation computation in DebugTools::ShapeRenderer,
namely DebugToolsCylinderRendererTransformationTest and
DebugToolsCapsuleRendererTransformationTest tests are failing with VERY
weird results.
13 years ago
Vladimír Vondruš
6af2163781
GCC 4.4 compatibility: explicit conversion operator-related issues.
13 years ago
Vladimír Vondruš
8c55625b52
GCC 4.5 compatibility: nullptr-related issues.
13 years ago
Vladimír Vondruš
125b55c1dd
GCC 4.5 compatibility: some explicit typing needed.
13 years ago
Vladimír Vondruš
f45d452b6b
Merge branch 'master' into compatibility
...
Conflicts:
src/Mesh.cpp
src/Text/AbstractFontConverter.cpp
13 years ago