Vladimír Vondruš
14ea7dd072
DebugTools: fix linking on Windows.
...
MSVC complained about dllexporting already exported interface or what.
MinGW doesn't care.
13 years ago
Vladimír Vondruš
c2a2ca88e4
SceneGraph: fix assertion expression.
...
We should have used == instead of =, the counter is set to that value
later anyway, so this didn't break anything... but the assert was
useless. Hopefully it won't fire each time now :-)
13 years ago
Vladimír Vondruš
e3bf8070b5
Don't return after std::abort().
...
MSVC marks that as unreachable code, which is.
13 years ago
Vladimír Vondruš
219429aeba
No need to have const members in AbstractShaderProgram::Attribute.
...
Someone might someday want to copy them somehow, restricting that
doesn't improve anything.
13 years ago
Vladimír Vondruš
e4cf804ec4
Use proper numeric literals.
...
Thanks to MSVC for these.
13 years ago
Vladimír Vondruš
ee045d261a
Make some type conversions explicit.
...
Fixes a bunch of MSVC warnings.
13 years ago
Vladimír Vondruš
25c8c87c1f
SceneGraph: fixed floating-point literals in test.
13 years ago
Vladimír Vondruš
4e0f8ff097
SceneGraph: remove integer TranslationTransformation template instance.
...
We can now use the *.hpp for that even on Windows.
13 years ago
Vladimír Vondruš
e38be052a0
SceneGraph: need to mark the instances with extern template on Windows.
...
Otherwise they don't get properly imported from the DLL. Also the
instantiations don't have to be marked, so mark them as such only on
non-Windows.
13 years ago
Vladimír Vondruš
6a3103e03e
SceneGraph: no need to mark the templates with export macros.
13 years ago
Vladimír Vondruš
3b666d85f4
SceneGraph: instantiate everything consistently on one place.
13 years ago
Vladimír Vondruš
9cb3d17ad9
SceneGraph: fix function signature.
...
Fixes compilation error on MSVC.
13 years ago
Vladimír Vondruš
ddc466a796
SceneGraph: use proper library for tests where graceful assert is wanted.
13 years ago
Vladimír Vondruš
eb877b31ba
SceneGraph: removed *Transformation::move().
...
The original purpose was to allow modifying of drawing order, but this
doesn't affect that at all (the order is preserved in DrawableGroup),
thus the functions are useless.
13 years ago
Vladimír Vondruš
13351f9371
Install all *TestLib libraries on Windows.
...
They are needed when running tests.
13 years ago
Vladimír Vondruš
658839446c
No need to explicitly specify default template parameter.
13 years ago
Vladimír Vondruš
8f12f2a844
Math: simplified internal Vector constructor.
...
Use size we want, not size we got.
13 years ago
Vladimír Vondruš
6469427f97
Updated std::optional from Optional repository.
13 years ago
Vladimír Vondruš
545e07c85b
Math: use proper suffixes for floating-point literals.
...
Catched by MSVC (ha!).
13 years ago
Vladimír Vondruš
aa04443d01
package: updated URL in development PKGBUILDs.
13 years ago
Vladimír Vondruš
d00aa0c560
doc: thoroughly explained plugin usage.
13 years ago
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š
50c7ab1edc
package: build tests also in MinGW Jenkins configuration.
...
We want to test at least that they build successfully.
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š
66fb4bc193
package: added Emscripten and MinGW32 Jenkins CI configuration.
13 years ago
Vladimír Vondruš
1b8fff8091
Updated toolchains submodule.
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