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š
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š
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š
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š
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š
259f2da78d
doc: filling up general Emscripten docs.
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š
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š
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
Vladimír Vondruš
fec1a07b9b
Bootstrap Vulkan support.
8 years ago
Vladimír Vondruš
7b49479b07
GL: doc++
8 years ago
Vladimír Vondruš
b79c245a63
Doc++, allow to search literals without the nonobvious operator"" prefix.
8 years ago
Vladimír Vondruš
673caa23bf
Math: compiling Angle, Color and Half code snippets.
8 years ago
Vladimír Vondruš
d9936c40fd
Math: added Constants::piQuarter().
8 years ago
Vladimír Vondruš
c77e6d7a15
Platform: doc++
8 years ago
Vladimír Vondruš
0e2b251e39
Platform: GLFW doesn't allow to create GL 3.1 core contexts.
8 years ago
Vladimír Vondruš
f30ca8929e
Platform: prefer core GL contexts in GlfwApplication as well.
...
Basically copies the behavior over from Sdl2Application.
8 years ago
Vladimír Vondruš
3e025f6d5b
Platform: no need to store a global window instance pointer.
...
And it was foolish of me to ever attempt to think that GLFW has
the same limitation as GLUT in this regard. Sorry.
8 years ago
Vladimír Vondruš
606811735c
Platform: minor cleanup.
8 years ago
Samuel Kogler
6379a8458e
Fix uninitialized pointer check in GlfwApplication.
8 years ago
Vladimír Vondruš
d398c63182
Platform: properly request a depth buffer on Android.
8 years ago
Vladimír Vondruš
44f829acbd
Platform: fix WindowlessWglApplication on non-deprecated builds.
8 years ago
Vladimír Vondruš
71195cd6c1
Test: minor cleanup.
8 years ago
Vladimír Vondruš
26f1abb396
Platform: fix WindowlessCglContext on non-deprecated build.
8 years ago
Vladimír Vondruš
2fc9f0a13e
Platform: forgotten implementations of GLConfiguration.
...
Oh well. Need to have tests in this repo, not in magnum-bootstrap.
8 years ago
Vladimír Vondruš
23cae45efc
GL: otherwise Doxygen claims that MAGNUM_VERIFY_NO_GL_ERROR doesn't exist.
8 years ago
Vladimír Vondruš
21bf047cde
GL: fix documentaiton.
8 years ago
Vladimír Vondruš
a6a24cc7d9
Platform: properly forward-declare GL::Version.
...
Was workinng only by accident when deprecated features were enabled.
8 years ago
Vladimír Vondruš
8d0f922d40
Platform: hide irrelevant macros from Doxygen.
8 years ago