Vladimír Vondruš
8e93520bd6
Math: converting Quaternion to rotation matrix.
14 years ago
Vladimír Vondruš
3b92d2b9f3
Math: creating Quaternion from axis/angle.
14 years ago
Vladimír Vondruš
3076c42663
Math: using absolute #includes in Quaternion.h.
14 years ago
Vladimír Vondruš
3126d0947d
Math: "checked" function for inverting normalized Quaternion.
14 years ago
Vladimír Vondruš
3b57d530a4
Math: test also properties of normalized Quaternion.
14 years ago
Vladimír Vondruš
c841c63b34
Doc++
14 years ago
Vladimír Vondruš
7ae00deee7
Math: removed constexpr from non-trivial Quaternion methods.
...
They will probably involve SIMD operations, which cannot be implemented
as constexpr.
14 years ago
Vladimír Vondruš
fcb8a7b768
Got rid of header files in tests.
...
They have no practical use and they only bloat codebase size and add
maintenance burden.
14 years ago
Vladimír Vondruš
89c2bf913c
Math: initial implementation of Quaternion class.
...
Still practically unusable.
14 years ago
Vladimír Vondruš
89f5200aae
Minor code cleanup.
14 years ago
Vladimír Vondruš
b8ae50267f
DebugTools: ObjectRenderer class.
...
Visualizes object position, rotation and size. Common usage as with
ShapeRenderer, common documentation extended and moved to new
`debug-tools` page.
14 years ago
Vladimír Vondruš
22d405809f
DebugTools: ShapeRenderer cleanup.
...
* Added missing forward declarations.
* Added getters and setters to ShapeRendererOptions class.
* Cube primitive is indexed, modified the mesh creation accordingly. It
now uses MeshTools, link the library to DebugTools.
* Simplified resource handling so it's now handled in one place. It
still needs to be thought out better.
14 years ago
Vladimír Vondruš
f9f95946b1
Shaders: 3D version of VertexColorShader.
...
Fragment shader can be shared for 2D and 3D version, modified the
sources accordingly.
14 years ago
Vladimír Vondruš
ef81b1035c
Doc++
14 years ago
Vladimír Vondruš
5367bef3ef
Ability to specify buffer range in BufferTexture.
...
Extension ARB_texture_buffer_range in OpenGL 4.3.
14 years ago
Vladimír Vondruš
7151486e02
Another Doxygen parsing workaround.
14 years ago
Vladimír Vondruš
29a07c7d62
GCC 4.6 compilation fixes.
14 years ago
Vladimír Vondruš
21337dafc0
Doc++
14 years ago
Vladimír Vondruš
9d260b72d8
Text: initial implementation of font and text rendering.
...
The library uses FreeType for glyph pre-rendering and basic glyph
geometry and HarfBuzz for text layouting (i.e. ligatures, kerning, ...).
Currently all used glyphs must be prerendered into texture atlas, other
glyphs are simply not rendered (although the layouting code handles them
like if they are there).
Text rendering supports UTF-8, although glyph pre-rendering is currently
ASCII only, as I couldn't find any working implementation of Unicode
STL function in recent GCC versions. Will be fixed later.
14 years ago
Vladimír Vondruš
3b92d711c7
CMake module for finding HarfBuzz library.
14 years ago
Vladimír Vondruš
a208a289ba
Initial support for Text library.
14 years ago
Vladimír Vondruš
df1d8a95b4
Shaders: basic text shader.
14 years ago
Vladimír Vondruš
06d6032300
Shaders: base for text shaders.
14 years ago
Vladimír Vondruš
e506951829
Math: functions for bottom right and top left Rectangle corners.
14 years ago
Vladimír Vondruš
a7a4c28c03
Math: ability to create Rectangle from other of arbitrary type.
14 years ago
Vladimír Vondruš
f9f848d94c
Math: ability to multiply and divide Vector with other of arbitrary type.
14 years ago
Vladimír Vondruš
7905a5e96c
Math: return proper type from Vector::projected() in subclasses.
14 years ago
Vladimír Vondruš
ebf0107ab9
Move constructor and move assignment for textures.
14 years ago
Vladimír Vondruš
c3bcaee6a7
Shaders compatibility: check for explicit texture layer support.
14 years ago
Vladimír Vondruš
cce32d7bc8
Physics: don't link to irrelevant libraries.
...
Leftover after moving debug draw to DebugTools library.
14 years ago
Vladimír Vondruš
96e936039c
New TextureTools library with joke implementation of atlas packer.
14 years ago
Vladimír Vondruš
a45b4fba8b
Using Rectangle in framebuffer.
14 years ago
Vladimír Vondruš
423beaebeb
Bring Math::Geometry::Rectangle to Magnum namespace.
14 years ago
Vladimír Vondruš
bc2f98266e
Math: debug output operator for Rectangle.
14 years ago
Vladimír Vondruš
c4b6e5ea33
Math: helper Rectangle class.
14 years ago
Vladimír Vondruš
5cd4aa8dcd
Doc++
14 years ago
Vladimír Vondruš
e16b5cc263
Doc: worked around Doxygen warnings.
...
It seems that Doxygen parser breaks itself each third Saturday after
full moon.
14 years ago
Vladimír Vondruš
c0a3ce84a4
Moved Profiler and debug draw from Physics to new DebugTools library.
...
Also cleaned up the code and split renderer creation from resource
manager.
14 years ago
Vladimír Vondruš
de72421a7c
Physics: fixed debug output operator for AbstractShape::Type.
...
It could be found by ADL only from Physics namespace itself, which is
not too useful.
14 years ago
Vladimír Vondruš
e0728baf03
Adapt to "recent" (sic) Platform changes, update docs.
14 years ago
Vladimír Vondruš
d0def6a763
Platform: reworked *XApplication events to mimic other implementations.
14 years ago
Vladimír Vondruš
10de569755
Doc++
14 years ago
Vladimír Vondruš
6b4a833d6e
Minor code cleanup.
14 years ago
Vladimír Vondruš
d552a658c0
Platform: reworked GlutApplication events to mimic SDL and NaClApplication.
14 years ago
Vladimír Vondruš
e5db59aad5
Removed "wontfix" TODOs.
...
* Calling *Mesh::draw() with parameter to start on arbitrary vertex
index might give users more freedom than they want to have (e.g.
lines rendered where gaps should be, broken triangle strips...).
* Single-precision floats have meaningful precision of ~6 decimal
places, everything after that would be random garbage anyway, so we
don't need anything "more precise" for icosphere.
* Texture1D can have only one target and it can be used as framebuffer
target.
14 years ago
Vladimír Vondruš
041e541d39
SceneGraph: ability to normalize rotation in Euclidean transformation.
14 years ago
Vladimír Vondruš
4a6e0b6dfa
Math: Gram-Schmidt orthonormalization.
14 years ago
Vladimír Vondruš
5de5b34c48
Math: function for projecting vector onto another.
14 years ago
Vladimír Vondruš
2734fde593
SceneGraph: euclidean transformation using matrices.
...
Allows for faster computation of inverted transformations.
14 years ago
Vladimír Vondruš
d981090e86
Functions for inverting Euclidean transformation matrices.
14 years ago