Vladimír Vondruš
105dbc90e9
Trade: move the data instead of copying.
13 years ago
Vladimír Vondruš
e62afc1b6c
Trade: ability to have either color or texture in PhongMaterialData.
13 years ago
Vladimír Vondruš
dcebf1a7b9
Trade: added TextureData parameters.
...
Not adding border color (yet), as it is not supported in ES.
13 years ago
Vladimír Vondruš
5b842d11a3
Trade: de-inline virtual destructor.
...
Less generated code.
13 years ago
Vladimír Vondruš
9875f49a99
Trade: properly specify underlying enum type.
13 years ago
Vladimír Vondruš
97b8d38e9e
Trade: document ability to copy and move.
13 years ago
Vladimír Vondruš
b57a8e9264
Trade: use strongly typed enum for AbstractMaterialData::Type.
13 years ago
Vladimír Vondruš
3482c451ac
Text: no need to have virtual destructor here.
...
Protected constructor and destructor is sufficient, AbstractTextRenderer
itself isn't meant to be deleted (via pointer).
13 years ago
Vladimír Vondruš
e5d0904417
Shaders: no need to have virtual destructor here.
...
Protected constructor and destructor is sufficient, AbstractVector
itself isn't meant to be deleted (via pointer).
13 years ago
Vladimír Vondruš
1fea7c3aa2
SceneGraph: clarify why there _is_ virtual destructor.
13 years ago
Vladimír Vondruš
b7ff40554c
SceneGraph: no need to have virtual destructor in AbstractCamera.
...
Protected constructor and destructor is sufficient, AbstractCamera
itself isn't meant to be deleted (via pointer).
13 years ago
Vladimír Vondruš
6a877375d4
No need to have virtual destructor in Buffer.
13 years ago
Vladimír Vondruš
9890c6018a
No need to have this Doxygen voodoo.
...
Why not show in docs that AbstractQuery itself isn't instantiable or
destructible.
13 years ago
Vladimír Vondruš
a50bda090a
No need to have virtual destructor for AbstractTexture.
...
Protected constructor and destructor is sufficient, AbstractTexture
isn't meant to be used via AbstractTexture* anyway.
13 years ago
Vladimír Vondruš
f937be8646
Make also constructor protected when destructor is protected.
...
Creating given object on heap (via new) (and then not deleting it) would
be possible that way, which shouldn't be.
13 years ago
Vladimír Vondruš
e2efad2e18
No `using namespace std` anywhere.
...
Remains from the dark old times.
13 years ago
Vladimír Vondruš
9450ec6e1e
Better usage of *Basic* in class names, part 5: SceneGraph drawables.
...
Use AbstractCamera<dimensions, T>, Drawable<dimensions, T> and
DrawableGroup<dimensions, T> like before and add two kinds of aliases
instead of only one: AbstractBasicCamera2D<T>/AbstractBasicCamera3D<T>,
BasicDrawable2D<T>/BasicDrawable3D<T> and
BasicDrawableGroup2D<T>/BasicDrawableGroup3D<T> for abstract type and
AbstractCamera2D/AbstractCamera3D, Drawable2D/Drawable3D and
DrawableGroup2D/DrawableGroup3D for Float.
Also fixed some find&replace errors in documentation and include guards.
Partially reverts commit a0d60bbaa7 .
13 years ago
Vladimír Vondruš
35fc4684d4
Better usage of *Basic* in class names, part 4: SceneGraph transformations.
...
Use AbstractTransformation<dimensions, T> like before and add two
kinds of aliases instead of only one:
AbstractBasicTransformation2D<T>/AbstractBasicTransformation3D<T> for
abstract type and AbstractTransformation2D/AbstractTransformation3D for
Float.
Partially reverts commit 346ea2feb6 .
13 years ago
Vladimír Vondruš
43feadfed6
Better usage of *Basic* in class names, part 3: SceneGraph features.
...
Use AbstractFeature<dimensions, T>, AbstractGroupedFeature<...>,
AbstractFeatureGroup<...>, FeatureGroup<...> like before and add two
kinds of aliases instead of only one, one with *Basic* for abstract type
and one for Float type.
Partially reverts commit 572efce3f7 .
13 years ago
Vladimír Vondruš
ab1d2f8f5f
Better usage of *Basic* in class names, part 2: SceneGraph animables.
...
Use Animable<dimensions, T> and AnimableGroup<dimensions, T> like before
and add two kinds of aliases instead of only one:
BasicAnimable[Group]2D<T>/BasicAnimable[Group]3D<T> for abstract type
and Animable[Group]2D/Animable[Group]3D for Float.
Partially reverts commit c32c12b387 .
13 years ago
Vladimír Vondruš
7636c6adc3
Better usage of *Basic* in class names, part 1: SceneGraph object.
...
Use AbstractObject<dimensions, T> like before and add two kinds of
aliases instead of only one:
AbstractBasicObject2D<T>/AbstractBasicObject3D<T> for abstract type and
AbstractObject2D/AbstractObject2D for Float.
Makes it easier to use AbstractObject in templates of fixed dimensions
(e.g. Bullet integration, where it can now be written as
`AbstractBasicObject2D<btScalar>` instead of potentially confusing
`AbstractBasicObject<2, btScalar>`).
Partially reverts commit cfd405c32c .
13 years ago
Vladimír Vondruš
2835f6cc13
Properly update tests after message cleanup.
...
Followup to 03e81361c979c2f92ed646c2bef1cd615bfe9ba9. I should test
before pushing.
13 years ago
Vladimír Vondruš
c24853b041
Primitives: remove template crap around Icosphere.
...
Now it has API similar to all other primitives. This thing was long
overdue.
13 years ago
Vladimír Vondruš
012d3e6a12
Primitives: fix Icosphere header.
...
This mess is long overdue.
13 years ago
Vladimír Vondruš
c5685d5f30
No need to make destructors as virtual.
...
The parent ones are marked already.
13 years ago
Vladimír Vondruš
e60306d3d7
MagnumFont: don't forget to close on destruction.
13 years ago
Vladimír Vondruš
e55b4b80c6
Cleaned up and unified error and assertion messages.
13 years ago
Vladimír Vondruš
f7f380064c
Link plugins to their dependencies on Windows.
...
Fixes linker issues, not present anywhere else.
13 years ago
Vladimír Vondruš
82ffeaae01
Link plugin dependencies to libraries, not test executables.
...
The test executables shouldn't need it at all.
13 years ago
Vladimír Vondruš
533be4db3d
MagnumFontConverter: the test needs OpenGL.
13 years ago
Vladimír Vondruš
d442cb964e
Explicitly specify library types for *TestLib targets.
...
Use static libraries for plugins which aren't used as dependencies (as
they don't export any symbols anyway), use shared libraries for plugins
used as dependencies (as they already export the symbols and static
libraries cause linker errors on mingw32).
13 years ago
Vladimír Vondruš
1e5f4d68de
Fixed visibility macros for plugins used as dependencies.
...
The symbols weren't exported on mingw32, causing linker errors.
13 years ago
Vladimír Vondruš
5e281db693
Yet another mingw32 linker fix.
13 years ago
Vladimír Vondruš
b003e53f00
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š
706560fb28
Mingw32's GCC 4.7 doesn't have std::to_string().
13 years ago
Vladimír Vondruš
0140aab5b1
Another mingw32 linker error fix.
...
This class is templated and thus doesn't export anything.
13 years ago
Vladimír Vondruš
56bb116305
Fix loud linker error on mingw32.
...
Mingw for some reasons instantiates depending template before dependent
one, causing the dependent one to be instantiated twice.
13 years ago
Vladimír Vondruš
b1766627a7
Treat MagnumMathObjects and MagnumObjects libs separately for exporting.
...
It's more intuitive and might be useful at some point.
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š
f94a53fee0
Workaround Doxygen misparse.
...
Was displayed as EGL**.
13 years ago
Vladimír Vondruš
cfa3d35f11
Support for ARB_texture_mirror_clamp_to_edge.
...
This functionality was present in ATI_texture_mirror_once and
EXT_texture_mirror_clamp for ages, now (strict subset of) it is in core
OpenGL 4.4 too.
13 years ago
Vladimír Vondruš
6908738afb
Extended extension support bitset to handle MOAR of them.
...
160 should be enough for everyone ;-)
13 years ago
Vladimír Vondruš
b3e42f1ca4
Updated upstream OpenGL header for 4.4.
13 years ago
Vladimír Vondruš
9f61c08e97
Support for ARB_texture_stencil8.
13 years ago
Vladimír Vondruš
48260e2479
Assert instead of returning empty list in Context::supportedExtensions().
13 years ago
Vladimír Vondruš
99c72ed99b
Initial support for OpenGL 4.4.
13 years ago
Vladimír Vondruš
e72bf297ab
DebugTools: implemented ShapeRenderer for 3D sphere.
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š
d67c0951f2
Primitives: no need to have this stuff public.
13 years ago
Vladimír Vondruš
115a0578e1
Primitives: fixed include guard.
13 years ago