Vladimír Vondruš
424eec4818
MeshTools: simplify compile().
...
I wanted to do this since *ever*.
8 years ago
Vladimír Vondruš
9be24a241e
GL: make it possible for a Mesh to own the vertex/index buffers.
...
I wanted to do this since 2015.
8 years ago
Vladimír Vondruš
9276a49388
GL: properly prefix section names.
8 years ago
Vladimír Vondruš
7a0f1ef32d
GL: store Mesh index buffer by value.
...
This allows moving Buffer instances without fear of breaking stuff. I
thought this was in since a long time, but doesn't seem so. This
reintroduces a header dependency, but until I have Containers::Storage
or something that *can* store forward-declared type safely, it's
inevitable.
8 years ago
Vladimír Vondruš
7e65b09ac6
GL: reduce function call stack a bit.
8 years ago
Vladimír Vondruš
b757dc2358
GL: test MeshView constructor.
...
Just for parity.
8 years ago
Vladimír Vondruš
2dd636a77b
GL: make calls to Mesh::setCount() and MeshView::setCount() mandatory.
...
Helps a lot with black screen of death and should have been here ages
ago.
8 years ago
Vladimír Vondruš
fdbd90a327
GL: construct simple Mesh and MeshView members in-class.
...
Better for maintenance, worse for header pollution.
8 years ago
Vladimír Vondruš
16558c8877
GL: assert that addVertexBuffer() is called with a valid Buffer.
8 years ago
Vladimír Vondruš
680144f1c5
GL: get rid of std::vector in Mesh header.
...
This is actually a preparation to make buffer-owning meshes a
possibility (where I would need an union of vectors otherwise),
nevertheless it removes the dependency on a vector.
8 years ago
Vladimír Vondruš
4ecf819fe5
Platform: avoid using deprecated APIs in WindowlessIosApplication.
...
Fallen through cracks. Sorry.
8 years ago
Vladimír Vondruš
308d97314d
SceneGraph: AnimableGroup.h doesn't really compile without this.
8 years ago
Vladimír Vondruš
4f224f672d
SceneGraph: fix ambiguous overloads with Animable and Drawable.
...
If they are inherited from a class together with Object, the
constructor call was ambiguous. This was already done for Camera, but
not for these.
8 years ago
Vladimír Vondruš
bbe6b5a56b
SceneGraph: compile code snippets to ensure their validity.
8 years ago
Vladimír Vondruš
7abe284cb8
modules: don't fail w/ confusing error if plugin include dir is not found.
...
Introduced by accident when implementing automagic import of static
plugins.
8 years ago
Vladimír Vondruš
3be84b89f7
Math: doc++
8 years ago
Vladimír Vondruš
5d60f0d350
Math: moved Geometry::Distance and Intersection directly into Math.
...
Too deep nesting, too much typing. Colon cancer. Fully preserving
backwards compatibility, except for the recently added cone/frustum
intersection functions, which were not in master yet.
8 years ago
Vladimír Vondruš
7759c822d0
doc: whoopsie.
8 years ago
Vladimír Vondruš
915d0f0600
Math/Geometry: this test passes only on non-optimized Emscripten builds.
...
And there's no way to detect that, so doing this ugly thing.
8 years ago
Vladimír Vondruš
f0adb5688f
Math/Geometry: reduce benchmark iterations.
...
It still runs with acceptable error but at a quarter time. The iteration
count can be always increased from command-line.
8 years ago
Vladimír Vondruš
60940264cd
Math/Geometry: remove unused parameter.
8 years ago
Vladimír Vondruš
8292ac9a3e
Math/Geometry: added a missing test case.
8 years ago
Vladimír Vondruš
c64a028b2d
Updated credits and changelog.
8 years ago
Vladimír Vondruš
be3dcc6fa0
Math/Geometry: improve assertion message.
8 years ago
Vladimír Vondruš
a77b08471e
Math/Geometry: various cleanup.
...
Spacing, indentation, overly wide lines, some const etc. Minor stuff,
except for renaming function arguments for consistency. That affects
everything.
8 years ago
Squareys
04ca48ce64
Math: Add and improve intersection methods
...
Signed-off-by: Squareys <squareys@googlemail.com>
8 years ago
Steeve Morin
26ae018d4f
external: fix ES2 and ES3 include paths in iOS
...
Signed-off-by: Steeve Morin <steeve.morin@gmail.com>
8 years ago
Vladimír Vondruš
40a5b898a2
Math: ability to convert BoolVector from/to external representation.
8 years ago
Vladimír Vondruš
47d79ef47d
Math: add GLSL bvec* as keywords for BoolVector.
8 years ago
Vladimír Vondruš
e9af67a651
Platform: properly link X11 to all applications that need it.
...
Discovered by the fresh Platform tests -- the X11 package was called
*after* X11_LIBRARIES was used.
8 years ago
Vladimír Vondruš
04488e5196
doc: mention BoolVector and its GLSL alternatives in the type overview.
...
Not sure why it was missing.
8 years ago
Vladimír Vondruš
97e0036dab
doc: updated changelog and credits.
8 years ago
Nathan Ollerenshaw
71e5736633
Added documentation for the Ubuntu PPA.
8 years ago
Vladimír Vondruš
7df90af144
Math: work around MSVC 2017 15.7.2 ICEs.
...
Reported here:
https://developercommunity.visualstudio.com/content/problem/259204/1572-regression-ice-in-constexpr-code-involving-de.html
8 years ago
Vladimír Vondruš
c61b245a3c
GL: update the --magnum-log option to include "verbose".
8 years ago
Vladimír Vondruš
2f8637ae3b
doc: update list of needed Android packages.
8 years ago
Vladimír Vondruš
259f2da78d
doc: filling up general Emscripten docs.
8 years ago
Vladimír Vondruš
6d4f66e3b7
package/archlinux: libc++ and libstdc++ is not ABI compatible.
8 years ago
Vladimír Vondruš
81aa98dbee
GL: make it possible to pass a pre-filled Utility::Arguments to Context.
...
For example to support additional app-specific configuration.
8 years ago
Vladimír Vondruš
e59dcd236a
modules: hrm, this FindGLFW was not working at all.
...
Yet again I merged too soon :/ b70ac5fa51
was not working for me at all -- on Arch the installed config file has
only one IMPORTED_CONFIGURATION, NOCONFIG, which wasn't propagated.
Besides that, there were some compiler definitions and other things that
*also* weren't propagated from the config file.
Reworked it totally in a simpler way, which doesn't work on CMake 2.8.12
anymore (but also who cares, systems that are stuck on 2.8.12 don't have
GLFW3 in repositories anyway).
8 years ago
Squareys
b70ac5fa51
modules: Use glfw cmake config if available
...
Signed-off-by: Squareys <squareys@googlemail.com>
8 years ago
Vladimír Vondruš
04a3f9588b
Platform: test compilation & linking of all Application libraries.
...
Because these are static, there can be various problems when linking
them later, so better to test that as early as possible.
This was done in the magnum-bootstrap CI setup before, but that's often
too late to discover problems.
8 years ago
Vladimír Vondruš
7ad33d3f5b
Platform: properly link XEglApplication to EGL.
8 years ago
Vladimír Vondruš
b8fabec474
Math: remove unused variables from tests.
...
Thanks, Clang 6.
8 years ago
Vladimír Vondruš
98d384e249
Test: workaround bogus Clang 6 warnings about missing declarations.
...
Don't you see that it's all in an anonymous namespace?!
8 years ago
Vladimír Vondruš
8688819423
doc: don't compile plugins snippet when plugin manager is not used.
8 years ago
Vladimír Vondruš
96050cb1e3
package/ci: enable Vulkan building on Travis CI.
...
Currently a separate job with everything that depends on GL disabled.
And against a minimal Vulkan driver that has just four symbols, because
I can't run the stuff there anyway.
8 years ago
Vladimír Vondruš
7cb94ac32d
doc: implement Vulkan-specific Doxygen aliases.
8 years ago
Vladimír Vondruš
8f9d1384b9
Vk: require at least CMake 3.7.
...
Older versions don't have FindVulkan and I can't be bothered.
8 years ago
Vladimír Vondruš
b1377033e8
Vk: initial Vulkan headers generated using flextGL.
8 years ago