Vladimír Vondruš
023c3811c8
Primitives: doc++
7 years ago
Vladimír Vondruš
52ff540407
Primitives: fix and make gradient function params consistent.
7 years ago
Vladimír Vondruš
8ef975616f
Primitives: textured circle primitive.
7 years ago
Vladimír Vondruš
8c439a2b66
Primitives: use container comparison for circle test.
...
For some reason this was the only primitive where it wasn't done yet.
7 years ago
Vladimír Vondruš
8f94a7717f
Primitives: constify.
7 years ago
Vladimír Vondruš
3967116dee
Primitives: use Math::sincos() where appropriate.
7 years ago
Vladimír Vondruš
6c434c7b21
Primitives: remove cruft deprecated in 2018.04.
7 years ago
Vladimír Vondruš
2149f7b869
Wrap all tests in unnamed namespaces.
...
This makes the compiler warn about test cases that aren't ever used,
which is a good thing.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
0793d31d2b
Primitives: new gradient primitive.
8 years ago
Vladimír Vondruš
e7d99a1190
doc: convert primitive renderings to proper sRGB and HiDPI.
...
Quick detour that took me quite an extreme amount of time to finish.
8 years ago
Vladimír Vondruš
4acfa8c197
Primitives: a better line primitive.
8 years ago
Vladimír Vondruš
2f1c1aaefd
Primitives: document how the grid is oriented.
8 years ago
Vladimír Vondruš
2a089f0e35
Primitives: these two were missing from 100% code coverage.
8 years ago
Vladimír Vondruš
994b9b22ba
CMake: properly specify IDE folders for everything.
8 years ago
Vladimír Vondruš
7cd44c1437
Primitives: exclude trivial deprecated APIs from code coverage.
...
Back at 100% coverage.
8 years ago
Vladimír Vondruš
920db7aa73
Split the Trade library out.
8 years ago
Vladimír Vondruš
8c74f4b2db
Primitives: added grid3DSolid() and grid3DWireframe().
8 years ago
Vladimír Vondruš
8662919a2b
Primitives: new solid and wireframe cone primitive.
8 years ago
Vladimír Vondruš
ab32742b55
Primitives: make it possible to have wireframe hemisphere with one ring.
...
Will be tested in the following commit.
8 years ago
Vladimír Vondruš
c33fd4d9c6
doc: show how each primitive looks.
8 years ago
Vladimír Vondruš
ae8db0471f
Primitives: 3D circle primitive.
8 years ago
Vladimír Vondruš
c139e0384d
Primitives: get rid of useless classes.
...
All functionality is now available through free functions. The classes
are now just deprecated wrappers and/or typedefs and will be removed in
some future release.
8 years ago
Vladimír Vondruš
013f1273f9
Primitives: max out the code coverage.
8 years ago
Vladimír Vondruš
8f27da9dfd
Set library soversion to 1.0, version to 0.
8 years ago
Vladimír Vondruš
c804021013
Primitives: doc++
8 years ago
Vladimír Vondruš
341a70a7f4
Primitives: document how to scale capsule / cylinder to preserve normals.
8 years ago
Vladimír Vondruš
623fa97970
Updated copyright year.
8 years ago
Vladimír Vondruš
1ec14c678b
Local Doxygen ignores for symbol export macros.
...
It was impossible to put all macros including the ones from other
projects into the global Doxyfile. Much cleaner now <3
8 years ago
Vladimír Vondruš
017c0ad94f
Primitives: test for circle mesh primitive as well.
...
So I see what's looping and what not.
9 years ago
guillaume.giraud@gmail.com
059f1396b0
Primitives: adding one extra vertex in solid circle primitive.
9 years ago
Vladimír Vondruš
12fa6961c8
Use CMake folders also for OBJECT libraries, executables and tests.
9 years ago
Émile Grégoire
dae1e8e9cf
Started adding folders for Visual Studio.
...
See https://gitter.im/mosra/magnum/archives/2017/03/25
9 years ago
Alice Margatroid
58270fe9f0
push_back -> emplace_back
9 years ago
Vladimír Vondruš
30fa9645c1
Primitives: fix Cylinder test to follow the bugfix.
...
Also added a bunch of comments to prevent confusing myself again next
time and spaced the indices evenly to make them readable. All those
poorly done things contributed to the bug.
9 years ago
Émile Grégoire
ef771364fe
Fixed issue in Primitives::Cylinder::solid() where the last ring of faces wouldn't be created when using cap ends because of wrong offset.
9 years ago
Vladimír Vondruš
7a16273e5d
Updated copyright year.
9 years ago
Vladimír Vondruš
bac4d579c2
Primitives: new axis2D() and axis3D() primitive.
...
Color-coded XY and XYZ axes, cut out of DebugTools::ObjectRender into a
better reusable piece of code. Using the new vertex color functionality
of mesh data.
9 years ago
Vladimír Vondruš
76aab47291
Trade: support for vertex colors in MeshData.
...
In order to have a seamless transition for all the plugins and potential
user code the original constructor was marked as deprecated and there is
a new constructor taking also the colors.
9 years ago
Vladimír Vondruš
01ffbe93a9
Modern CMake usage: reworked to use target-specific properties.
...
As with Corrade, this is not exactly backwards compatible, but for
common use case without OBJECT libraries this should not be a problem.
In any case, recreate the build dir and update your copy of all
Find*.cmake modules to avoid weird things happening.
User-facing changes:
* Documentation of all Find*.cmake modules converted to
reStructuredText to follow official CMake guidelines.
* The newfangled way to use the libraries is to link to Magnum::Shaders
instead of adding ${MAGNUM_SHADERS_INCLUDE_DIRS} to include path and
linking to ${MAGNUM_SHADERS_LIBRARIES}.
* The old ${MAGNUM_*_LIBRARIES} are deprecated and now just expand to
Magnum::* target. Use the target directly. These are also enabled
only when building with MAGNUM_BUILD_DEPRECATED.
* The old ${MAGNUM_*_INCLUDE_DIRS} are removed as the Magnum::* targets
cover these too.
Internal changes:
* Global state such as include_directories() was replaced with
target-specific settings.
10 years ago
Vladimír Vondruš
23646e6690
Hell, this project is big.
10 years ago
Vladimír Vondruš
9bc98c3f10
CMake subproject support, part 2: export MAGNUM_* variables.
...
This way the FindMagnum.cmake module will have everything found already
and so it will do only some additional management on top.
11 years ago
Vladimír Vondruš
7ea9e82796
Primitives: added Cube::solidStrip().
...
Took me more than year of procrastination until someone finally
completely figured it out for me. Thanks y'all.
11 years ago
Vladimír Vondruš
c71dc12503
Making test declarations more compact.
...
Yet again I experienced how insanely large this thing got over the
years.
11 years ago
Vladimír Vondruš
f3bd987dc1
Primitives: remove oboslete code in test.
11 years ago
Vladimír Vondruš
6488fe6e75
Oh, it's 2015 already.
11 years ago
Vladimír Vondruš
c56940993b
Use the new math constants throughout the code.
12 years ago
Vladimír Vondruš
0188b8317a
Primitives: removed autolink-preventing % noise.
12 years ago
Vladimír Vondruš
5aac26ebc4
Primitives: use Constants::tau().
12 years ago
Vladimír Vondruš
4cccf8ed10
Primitives: fixed non-unique header guard.
...
Thanks, @CodeEx222 !
12 years ago