Vladimír Vondruš
e527cfb226
Using enum instead of bool parameter antipattern.
14 years ago
Vladimír Vondruš
5824ecfe39
New library for OpenGL context creation using various toolkits.
...
Currently there is only GLUT context, pulled from magnum-examples
repository.
14 years ago
Vladimír Vondruš
e8403c5123
Standards-compilant FindMangum.cmake module.
...
It is now required to specify which modules to find, as only these
modules will be searched for.
14 years ago
Vladimír Vondruš
7501c14e56
Exclude *Visibility.h files from documentation.
14 years ago
Vladimír Vondruš
e62091d968
Mentioned online docs and unit tests in documentation.
14 years ago
Vladimír Vondruš
e3286959d6
Clang 3.1 released.
14 years ago
Vladimír Vondruš
531bb74232
Using more portable CMAKE_SHARED_LIBRARY_CXX_FLAGS instead of -fPIC.
14 years ago
Vladimír Vondruš
e9f089259a
Use target names directly instead of ${MAGNUM_*_LIBRARY} for linking.
14 years ago
Vladimír Vondruš
86b1aaa2af
Reuse most of the already compiled objects for unit test libraries.
...
CORRADE_GRACEFUL_ASSERT is set only on files where it makes sense, the
rest is shared between main and test libraries. Speeds up the
compilation like infinity times.
CMake 2.8.8 is required for OBJECT library target.
14 years ago
Vladimír Vondruš
952f8ebb27
Compiling with -fvisibility=hidden.
...
Reusing macros MAGNUM_EXPORT and friends already used for Windows
builds. For exported classes added MAGNUM_LOCAL to private members which
are not referenced from any inline function. Added explicit
MAGNUM_EXPORT to private members which are referenced. CMake provides
its own macro <target>_EXPORTS, using that instead of
set_target_properties().
14 years ago
Vladimír Vondruš
7f6f81afc7
Math::Constants are now inline functions instead of static variables.
...
Static variables were compiled into the library and then linked on
every use, which was not good for performance.
14 years ago
Vladimír Vondruš
fa69b04dcb
MathTypeTraits: part of the original reasons was true.
14 years ago
Vladimír Vondruš
6ebac5f47d
Mention Clang in documentation to state it's officially supported.
14 years ago
Vladimír Vondruš
0db46034d7
Removed superfluous semicolons.
14 years ago
Vladimír Vondruš
04a91303f9
Don't delete templated function when no other overload is possible.
...
The compiler will produce error anyway, because the body of the function
is not implemented, only in explicit template specializations. Deleting
the function would make sense if there was another function with the
same name taking different argument, which is not this case anyway.
14 years ago
Vladimír Vondruš
6762d3adcd
Removed constexpr from non-constexpr constructors.
...
Physics::AbstractShape can not be constructed using constant expression
because it has virtual destructor.
14 years ago
Vladimír Vondruš
1be7b8b9c2
Workarounds for Clang parsing issues.
14 years ago
Vladimír Vondruš
f9216b99b0
SVG graphs, using Verdana like rest of the documentation.
14 years ago
Vladimír Vondruš
326c373db6
Don't show #includes in file documentation.
...
Another unneded information.
14 years ago
Vladimír Vondruš
7712505f7c
Inlining simple structures in documentation.
14 years ago
Vladimír Vondruš
1ce0e68f0f
Doc: better reason for functions in type traits.
...
Also moved this to @internal instead of plain comment.
14 years ago
Vladimír Vondruš
4a4ba9425c
Show template relations for classes.
...
Displays the subclassing hierarchy also for Vector and Matrix templated
classes.
14 years ago
Vladimír Vondruš
876254efcd
Custom @collisionoperator command instead of hiding the functions.
...
Uses @relates , so the collision operator is tied to class for which the
collision is implemented (not to which contains the implementation).
14 years ago
Vladimír Vondruš
208b6ce93e
Custom @debugoperator command instead of hiding the functions.
...
Uses @relates , so the operator is tied to related class.
14 years ago
Vladimír Vondruš
ce09e50e05
Doc: Using @relates for texture internal format operator|.
14 years ago
Vladimír Vondruš
5a42ee4e91
Doc: using @overload for const overloads of member functions.
14 years ago
Vladimír Vondruš
53a5fa8454
Removed bloated include hierarchy graphs from file documentation.
...
It was unneeded anyway, the only purpose I can think of is to showcase
those pretty graphs, nothing more.
14 years ago
Vladimír Vondruš
fcf0612c10
Absolute include paths in documentation.
...
Currently it was incorrectly stated that for using Math::Matrix or for
example Trade::MeshData it was sufficient to
#include <Matrix.h>
#include <MeshData.h>
which was obviously wrong, as Math/ (nor any other namespace-related
subdirectory) is not on include path. Now it states correctly that a
directory prefix is needed:
#include <Math/Matrix.h>
#include <Trade/MeshData.h>
The same is now fixed for classes in magnum-plugins repository.
14 years ago
Vladimír Vondruš
4cd1ee140e
Removed Math::TypeTraits to MathTypeTraits to avoid name clash.
14 years ago
Vladimír Vondruš
c1fad30934
Users don't (and shouldn't) care about friend declarations in docs.
14 years ago
Vladimír Vondruš
9ece394566
Less columns for alphabetical class index.
14 years ago
Vladimír Vondruš
d3e684c42b
Include doc/ subdir of magnum-plugins into documentation.
14 years ago
Vladimír Vondruš
09acfa711f
Documented directories containing various namespaces.
14 years ago
Vladimír Vondruš
1990702170
Remove unsupported CXX flag when building dev PKGBUILD with Clang.
14 years ago
Vladimír Vondruš
05ed802975
Doxygen command @todoc for documentation-related todos.
14 years ago
Vladimír Vondruš
0b45da1b07
Quiet (warnings only) Doxygen output.
14 years ago
Vladimír Vondruš
453aa4de99
glGenerateMipmap() requires OpenGL 3.0 / EXT_framebuffer_object.
14 years ago
Vladimír Vondruš
0689abeb12
Better way to "unhide" Camera::draw().
14 years ago
Vladimír Vondruš
a92b4698fa
Doxyfile: building documentation also for magnum-plugins.
...
The repository with magnum-plugins must be next to this repository to
make documentation building possible.
14 years ago
Vladimír Vondruš
8871334ed2
Updated Doxyfile for Doxygen 1.8.1.
...
Doxygen produces some false-positive warnings for Matrix and Vector
classes, but the generated documentation is fine. Worked around the
warnings by using @copybrief and @copydetails instead of @copydoc .
14 years ago
Vladimír Vondruš
e9164d856e
Fixed typo in documentation.
14 years ago
Vladimír Vondruš
95725cae94
Workaround Doxygen parsing bug.
...
Probably caused by MAGNUM_EXPORT macro.
14 years ago
Vladimír Vondruš
192831b576
Don't use virtual when reimplementing virtual function.
14 years ago
Vladimír Vondruš
44a08a551f
Added static_assert to "initializer list" Matrix and Vector constructor.
...
C++ allows creating arrays with initializer lists shorter than array
length, but for vectors and matrices it will be error prone and hard to
debug. Removed deleted constructor, as it is now catched with
static_assert as well. Also this was possible before (and wasn't catched
with the deleted constructor), now isn't:
Matrix<2, int> a(1, 2);
14 years ago
Vladimír Vondruš
97c516fd4c
Windows build fixes.
14 years ago
Vladimír Vondruš
b0ddc19a84
Support for all remaining uniform vector types, except arrays.
14 years ago
Vladimír Vondruš
da3b4e85a5
Doc++
14 years ago
Vladimír Vondruš
d40cea81b2
Camera: added depth clamping feature.
14 years ago
Vladimír Vondruš
42ed45635d
Camera: added dithering feature.
14 years ago
Vladimír Vondruš
707cbfd992
Shader: strongly typed State enum.
14 years ago