Vladimír Vondruš
fff5950253
MagnumFontConverter: use Range::padded().
13 years ago
Vladimír Vondruš
fd987c9e4e
Text: clean up GlyphCache::insert().
...
Const is good is good.
13 years ago
Vladimír Vondruš
8cafb555dc
MeshTools: code cleanup.
...
No need to repeat size computation, this way it's also safer (we won't
read memory after the end).
13 years ago
Vladimír Vondruš
2c97326d8d
std::fstream accepts filename as std::string in C++11.
...
Finally.
13 years ago
Vladimír Vondruš
3df67b370f
SceneGraph: fix TranslationTransformationTest on Windows.
...
*.hpp files are probably not working as expected here, will fix that
later. Added TODO for that.
13 years ago
Vladimír Vondruš
1d0bc114a6
SceneGraph: allow creating TranslationTransformation only from Object.
13 years ago
Vladimír Vondruš
c5d85166e0
SceneGraph: mention that Int TranslationTransformation is also included.
13 years ago
Vladimír Vondruš
be48953642
SceneGraph: deinline Object constructor.
...
Might save some generated code.
13 years ago
Vladimír Vondruš
228ef24e57
Bumped minimal version of exts related to layout() GLSL qualifier to 1.50.
...
Related to issue #27 -- layout() qualifier causes compiler errors on
GLSL 1.40 (GL 3.1) on Mac OS X even that the extensions are marked as
supported. Bumping the minimal required version disables the extensions
on this versions, which should avoid the issue.
It is not proper fix at all, but most of the GL3 implementations are
now at least GL 3.2, so it shouldn't be too much of an issue. The only
exception is Mesa (GL 2.1/3.1 on most of the machines), but we need
to maintain GL 2.1 compatibility for it anyway.
13 years ago
Vladimír Vondruš
769838dbd5
Documented custom engine initialization, various doc updates.
13 years ago
Vladimír Vondruš
794c934dc1
Shotgun documentation updates.
...
Fixed old references to Buffer::Usage, fixed parameter order in Image
constructor, fixed some function references. Added explicit references
to linkable stuff.
13 years ago
Vladimír Vondruš
ce9a9212ca
Fix linking of tests in static Windows build.
...
Also fixes the "multiple definition" Emscripten issue, which was worked
around in f44af271df .
13 years ago
Vladimír Vondruš
f86a60c82d
Fix static build on Windows.
13 years ago
Vladimír Vondruš
9b6b4377e9
Make inter-project includes with "" and dependency includes with <>.
13 years ago
Vladimír Vondruš
f44af271df
TgaImageConverter: workaround for linking error in the test.
...
Due to some weird bug (?) llvm-link complains about multiply defined
symbol.
13 years ago
Vladimír Vondruš
9792f2b7e0
Text: added TODO.
13 years ago
Vladimír Vondruš
72646fa2d5
Text: fix Renderer compilation in Emscripten.
13 years ago
Vladimír Vondruš
ce470aede7
MagnumFont{,Converter}: these tests also need GL, set GLTest suffix.
13 years ago
Vladimír Vondruš
463613f1ce
Don't include deprecated Rectangle.h header.
13 years ago
Vladimír Vondruš
1aa5bd0961
Math: error out when Rectangle.h is used in non-deprecated build.
...
How this slipped through?!
13 years ago
Vladimír Vondruš
a6dfda5c3a
Math: fix RangeTest compilation with GCC 4.6.
13 years ago
Vladimír Vondruš
0865705813
Math: fix Range compilation with Clang, mark the constructors as implicit.
...
Somehow defaulted constructor is not enough and Clang complained about
no user-provided default constructor.
13 years ago
Vladimír Vondruš
e6b15ed797
MagnumFont: save one division per glyph.
13 years ago
Vladimír Vondruš
ee8f757419
Using Range2D instead of Rectangle everywhere.
...
Encourages vectorization and generic usage even more. Some functions
were rewritten to make use of the new features, resulting in shorter and
more readable code. This also fixes the annoying naming collision with
WINAPI Rectangle() function.
The old Rectangle is now subclass of Range2D, is marked as deprecated
and will be removed in future release.
13 years ago
Vladimír Vondruš
b083935b94
Math: added Range::scaled().
13 years ago
Vladimír Vondruš
66e6ab6684
Math: added Range::padded() function.
13 years ago
Vladimír Vondruš
9a6c959b60
Math: added Range*::center*() convenience functions.
13 years ago
Vladimír Vondruš
714c243dd6
Math: added generic Range class.
...
Will replace Geometry::Rectangle.
13 years ago
Vladimír Vondruš
0611f58569
Shaders: fix tests in static build.
13 years ago
Vladimír Vondruš
c2ad09706e
Fixed compilation with GCC 4.9.
...
Standards-conforming STL implementation has no implicit default
constructor for std::vector, making me write this ugly verbose code.
13 years ago
Vladimír Vondruš
1291626afc
Fixed compilation with Clang's libc++.
13 years ago
Vladimír Vondruš
af0e097f41
Fix ES2 method name.
...
It's been [0] days since last copypaste bug.
13 years ago
Vladimír Vondruš
e088da6c78
Fix extension link in the documentation.
13 years ago
Vladimír Vondruš
db5618c325
OpenGL ES 2.0 and 3.0 share the same extension list.
...
Until recently (or maybe not too recently) ES3 extension header was
"currently empty", now the extension header is shared with ES2. It's
nice to finally get rid of all the weird ifndefs.
13 years ago
Vladimír Vondruš
694c250e50
Use plural form also for CORRADE_UTILITY_LIBRARIES.
13 years ago
Vladimír Vondruš
01194d4316
Rename also classes and files for GL tests.
13 years ago
Vladimír Vondruš
e49be200d4
Properly fix linking to libdl.
...
Use CORRADE_PLUGINMANAGER_LIBRARIES instead of
CORRADE_PLUGINMANAGER_LIBRARY when linking core Magnum library.
This reverts commit 80263eb318 and
6dbe31f0f0 .
13 years ago
Vladimír Vondruš
a156593a89
Hopefully finally fixed constexpr issues in ColorTest with GCC 4.6.
...
Follow-up to 80b61be485 , I am too lazy to
test it before commiting.
13 years ago
Vladimír Vondruš
6dbe31f0f0
Link CORRADE_PLUGINMANAGER_LIBRARIES to all plugin-enabled executables.
...
Should fix another bunch of static build errors.
13 years ago
Vladimír Vondruš
3098ad2650
Audio: missing inline.
...
Caused static build to fail on multiple definitons.
13 years ago
Vladimír Vondruš
80263eb318
Trade: explicitly link tests to CORRADE_PLUGINMANAGER_LIBRARIES.
...
Compilation of tests in static build fails with missing
reference to dlclose().
13 years ago
Vladimír Vondruš
f163009f45
TgaImporter: ColorFormat::Luminance is available only on ES2.
13 years ago
Vladimír Vondruš
80b61be485
Fixed constexpr issues in ColorTest under GCC 4.6.
13 years ago
Vladimír Vondruš
1a608a5b7e
TgaImporter: fix test on ES2.
13 years ago
Vladimír Vondruš
121d3a91bc
MagnumFont: fixed compilation with Clang.
13 years ago
Vladimír Vondruš
efd5aa89ac
Fixed BufferGLTest on ES2 non-deprecated build.
...
Combinatorial explosion of build problems.
13 years ago
Vladimír Vondruš
60a064c920
Ensure that all GL tests have `*GLTest` suffix.
...
Makes it easier to selectively run GL/non-GL tests.
13 years ago
Vladimír Vondruš
9a387a7469
Fixed ColorTest on ES.
13 years ago
Vladimír Vondruš
28032a3909
Doc++
13 years ago
Vladimír Vondruš
4059bd752f
Math: added minmax() and Vector2::minmax().
...
No Vector<size, T> and std::initializer_list versions yet, as the
algorithm for it is pretty complicated and I'm not sure that they will
be used frequently enough to deserve their existence.
13 years ago