Vladimír Vondruš
83ff04f0a2
Camera: added setters for depth and stencil clear value.
14 years ago
Vladimír Vondruš
a32498361c
Camera::setClearColor() is now static. Removed getter.
14 years ago
Vladimír Vondruš
acb8029a93
SDL2 context: keyboard handling for basic keys.
14 years ago
Vladimír Vondruš
9d39808a84
Better Camera clearing.
...
Now it is exposed as protected function, so it can be called from
subclasses. It now clears() only set features, so when stencil or depth
test is not enables, it doesn't clear their buffers.
14 years ago
Vladimír Vondruš
16f8b9bbe6
Added stencil test to camera features.
14 years ago
Vladimír Vondruš
90fbc956cc
More unique name for PhongShader resources.
14 years ago
Vladimír Vondruš
1aca6caf5f
AbstractTexture: documented relation between loose and exact types.
14 years ago
Vladimír Vondruš
f97a272fb6
Texture documentation reorganization.
...
The part similar for all AbstractTexture subclasses should be in
AbstractTexture itself, not anywhere else.
14 years ago
Vladimír Vondruš
e868d8e03c
Deprecating AbstractShaderProgram::bind*Location().
...
Preferred workflow is to specify attribute location explicitly in the
shader. The functions remains here as some old Intel systems don't
support the required extension ARB_explicit_attrib_location (and it's
not in GL 3.0 either). Also updated and fixed the documentation.
Function bindAttribute() was renamed to bindAttributeLocation() to be
consistent with bindFragmentDataLocation().
PhongShader now uses explicit attribute location.
14 years ago
Vladimír Vondruš
5133861750
Links to required extensions in documentation.
...
Fixed a few typos in extension names, fixed BPTC texture compression
typos. Removed redundant EXT_framebuffer_object from functions as the
Framebuffer class itself has it.
14 years ago
Vladimír Vondruš
ce5276b7f0
Doxygen: create tag file.
...
Turned off INLINE_SIMPLE_STRUCTS, as it causes bugs in the tagfile.
14 years ago
Vladimír Vondruš
9cb0846718
Sdl2Context: mouse handling.
14 years ago
Vladimír Vondruš
83fd5df368
Disable instantiation of all Abstract* classes.
...
For classes which already have pure virtual functions instantiation is
not allowed, but for other there needs to be at least one pure virtual
method: the destructor.
Pure virtual functions actually can have implementations, but they must
be called explicitly. Destructors are called explicitly, so for them it
works.
14 years ago
Vladimír Vondruš
39a313a357
Brought debug facilities from Corrade::Utility to Magnum namespace.
...
These classes are used so frequently that it is counterproductive to not
have them here.
14 years ago
Vladimír Vondruš
831506d5f1
Removed forgotten debug output.
14 years ago
Vladimír Vondruš
426d1bc95e
Renamed GLutContext::mouseMoveEvent() to mouseMotionEvent().
...
Consistency with naming in GLUT itself and also SDL2. "Mouse move event"
is naming used only in Qt.
14 years ago
Vladimír Vondruš
e9a7a532bf
Light::clean() cannot be hidden.
...
Don't know why, though.
14 years ago
Vladimír Vondruš
09bfc5927f
Updated FindCorrade.cmake.
14 years ago
Vladimír Vondruš
ef6d70c8ad
First version of SDL2 context.
14 years ago
Vladimír Vondruš
73a515e0c0
Doc++, warning if GLUT is not found.
14 years ago
Vladimír Vondruš
ccc36c252e
Doc++
14 years ago
Vladimír Vondruš
c2b1b78916
Added examples to the documentation.
...
Repository magnum-examples must be next to magnum repository to build
the complete documentation.
14 years ago
Vladimír Vondruš
774e0cb362
Feature and other documentation update.
14 years ago
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