Vladimír Vondruš
413bd4639e
MSVC 2013 compatibility: constexpr-related issues.
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š
b6f99db0ad
MSVC 2013 compatibility: need explicit typing for addTests().
...
This annoys the hell out of me.
13 years ago
Vladimír Vondruš
581ce482ea
MSVC 2013 compatibility: more workarounds for array-initialization bug.
...
Follow-up to e2180ee85b .
13 years ago
Vladimír Vondruš
82a8510877
external: updated std::optional with MSVC 2013 compatibility.
13 years ago
Vladimír Vondruš
37e4c9f406
Merge branch 'master' into compatibility
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š
e2180ee85b
MSVC 2013 compatibility: work around array-initialization bug.
...
As described in http://stackoverflow.com/questions/19877757/workaround-for-error-c2536-cannot-specify-explicit-initializer-for-arrays-in-vi
and http://connect.microsoft.com/VisualStudio/feedback/details/792161/constructor-initializer-list-does-not-support-braced-init-list-form .
13 years ago
Vladimír Vondruš
974f68a030
MSVC 2013 compatibility: worked around some initializer list bug.
13 years ago
Vladimír Vondruš
e01e56dade
MSVC 2013 compatibility: apparently can't have multiply defined aliases.
...
Also very annoying bug.
13 years ago
Vladimír Vondruš
4c4dc8ae75
MSVC 2013 compatibility: no rvalue references for *this.
13 years ago
Vladimír Vondruš
d720330425
MSVC 2013 compatibility: no user-defined literals.
13 years ago
Vladimír Vondruš
2b5f71b52d
MSVC 2013 compatibility: no Unicode char/string literals.
13 years ago
Vladimír Vondruš
2292469155
MSVC 2013 compatibility: constexpr-related issues.
13 years ago
Vladimír Vondruš
52fc92cb48
MSVC 2013 compatibility: no unrestricted unions.
13 years ago
Vladimír Vondruš
51f7230ed2
MSVC 2013 compatibility: added missing headers.
...
Not sure how this is done in GCC and Clang, they don't need ~60k LOC
<algorithm> just for std::max().
13 years ago
Vladimír Vondruš
aa04443d01
package: updated URL in development PKGBUILDs.
13 years ago
Vladimír Vondruš
2db8734523
doc++
13 years ago
Vladimír Vondruš
bdd5f6505a
package: update URL in development PKGBUILDs.
13 years ago
Vladimír Vondruš
78db39de44
Merge branch 'master' into compatibility
13 years ago
Vladimír Vondruš
d00aa0c560
doc: thoroughly explained plugin usage.
13 years ago
Vladimír Vondruš
f8a05ae8d1
package: add GCC 4.5 and 4.4 to Jenkins CI configuration.
13 years ago
Vladimír Vondruš
e111854f53
GCC 4.5 compatibility: don't include deprecated headers.
13 years ago
Vladimír Vondruš
ea776256bb
GCC 4.5 compatibility: can't default function in class body.
13 years ago
Vladimír Vondruš
4d4b3e57e5
GCC 4.5 compatibility: nullptr-related issues.
13 years ago
Vladimír Vondruš
53c0f517b1
GCC 4.5 compatibility: no forward declarations for enums.
13 years ago
Vladimír Vondruš
566e4746eb
Moved remaining development PKGBUILDs to package/archlinux.
13 years ago
Vladimír Vondruš
ba675e4fac
Merge branch 'master' into compatibility
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š
5d47fffc17
Merge branch 'master' into compatibility
...
Conflicts:
src/DefaultFramebuffer.cpp
src/Framebuffer.cpp
src/MeshTools/Interleave.h
src/Plugins/MagnumFontConverter/MagnumFontConverter.cpp
src/Primitives/Crosshair.cpp
src/Primitives/Line.cpp
src/Primitives/Plane.cpp
src/Primitives/Square.cpp
src/SceneGraph/AbstractTransformation.h
src/SceneGraph/Object.hpp
src/Shaders/DistanceFieldVector.cpp
src/Shaders/Flat.cpp
src/Shaders/Vector.cpp
src/Text/GlyphCache.cpp
src/TextureTools/Test/AtlasTest.cpp
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