Vladimír Vondruš
e4790eaec9
Fix installation dir for DLLs on Windows.
...
Similar change to mosra/corrade@8fbedb0df2557e8b18acbb358b83bd93d7da7e20.
13 years ago
Vladimír Vondruš
fc0bde4f47
Wrap CMAKE_SHARED_LIBRARY_CXX_FLAGS in quotes.
...
The variable is empty on some platforms (Windows), would cause issues.
13 years ago
Vladimír Vondruš
d13388f7bc
Primitives: wireframe versions of Capsule, Cylinder and UVSphere.
...
Simplified representation of the shapes, i.e. an UVSphere is
visualized by three circles, one for each axis. Will be used mainly in
DebugTools.
13 years ago
Vladimír Vondruš
70ba2bd77c
Primitives: reworked remaining classes to have the same API as the rest.
...
Now every primitive can be created using `solid()` or `wireframe()`
function returning directly Trade::MeshData.
13 years ago
Vladimír Vondruš
c4073c0874
Primitives: added 2D/3D Line primitive.
...
No shit. This is usable mainly if some common code expects the
mesh wrapped in MeshData and thus it is better to just have this tiny
class instead of doing it manually.
13 years ago
Vladimír Vondruš
c79327ee43
Option to build Magnum as static library.
...
And optionaly position-independent code. The tests now pass again, if
both Corrade and Magnum is static.
13 years ago
Vladimír Vondruš
032827fc3d
Primitives: added 2D circle primitive.
13 years ago
Vladimír Vondruš
a0b83edd2b
Relicensing to MIT/Expat license, part 4: CMake and documentation files.
...
They didn't contain license header before, but I think adding it also
there wouldn't do any harm. Documentation is also integral part of the
codebase.
13 years ago
Vladimír Vondruš
90dbb28763
Thorough CMakeLists cleanup.
...
* Calling enable_testing() only in root path.
* Using CORRADE_CXX_FLAGS instead of our own set to make things easier
to maintain.
* Various cleanup and reorganization.
13 years ago
Vladimír Vondruš
ba547fb7f8
Primitives: the library is now shared instead of static.
...
Saves 2.5M of ~16M of debug build size.
13 years ago
Vladimír Vondruš
cd148cb3ff
Primitives: added crosshair primitive.
13 years ago
Vladimír Vondruš
58d9d351c0
Compile Primitives library with -fPIC.
...
Allows to link it into dynamic libraries in the future (such as Physics
library).
14 years ago
Vladimír Vondruš
b43a6ee586
Square primitive.
14 years ago
Vladimír Vondruš
7fbf28f4a1
Added Cylinder primitive.
14 years ago
Vladimír Vondruš
6bd43a9f95
Modularization of building and installation process.
...
By default everything except contexts is built, features can be
enabled/disables using WITH_* CMake options.
14 years ago
Vladimír Vondruš
6add425bb3
Cleaned up CMakeLists.txt.
14 years ago
Vladimír Vondruš
32a73395e2
Plane primitive.
14 years ago
Vladimír Vondruš
49c6bea722
Capsule and UVSphere primitive, with normals and texture coordinates.
14 years ago
Vladimír Vondruš
e9a16b1824
Added Icosphere primitive.
...
Templated on subdivision count, so it is for given subdivision computed
only once.
15 years ago
Vladimír Vondruš
6da26dc4bc
Added Cube primitive.
15 years ago
Vladimír Vondruš
8c7486a13d
Base class for primitives.
15 years ago