Vladimír Vondruš
8837b35f58
Updated external OpenGL headers.
14 years ago
Vladimír Vondruš
fdded7281d
Renamed *Texture::set*Data() to set*Image().
...
Better consistency with OpenGL naming.
14 years ago
Vladimír Vondruš
90ba19b601
Doc: copypasta error.
14 years ago
Vladimír Vondruš
aef9b16c62
Don't allow removing vertex/index buffer from meshes.
...
Would cause weird issues with state, it's better to just not allow it
and follow KISS principle than trying to implementing it. Also
crosslinked required function calls in documentation.
14 years ago
Vladimír Vondruš
3f727b4abc
Doc: fixed a few issues with OpenGL ES extensions.
14 years ago
Vladimír Vondruš
cdb8893e7b
Added all currently supported OpenGL ES extensions to the list.
14 years ago
Vladimír Vondruš
3c347441e6
Ability to build Magnum for OpenGL ES emulated with desktop OpenGL.
14 years ago
Vladimír Vondruš
ae801ea945
OpenGL ES compilation fixes & workarounds.
14 years ago
Vladimír Vondruš
b400fb7766
ES 2.0 extension list is equivalent to GL 2.1 extension list -- empty.
...
We assert that minimal OpenGL version is GL 2.1 / ES 2.0, thus
there is no need for list of extensions implemented in these versions.
14 years ago
Vladimír Vondruš
c6c659431b
Marked implemented extensions as such.
...
Extension list is now something like internal TODO list.
14 years ago
Vladimír Vondruš
6fd67c978e
Buffer memory mapping.
...
I sincerely hope for glMapBuffer() being marked as deprecated.
14 years ago
Vladimír Vondruš
3e32d5ece7
Added ARB_map_buffer_range extension to the list.
...
OpenGL 3.0 specification is awesomely confused with extensions. The ones
listed in specs don't have the complete functionality and references
to related ARB extensions are nowhere to be found.
14 years ago
Vladimír Vondruš
7183110eee
Doc++, @todo++
14 years ago
Vladimír Vondruš
5f19343bee
Math: linear interpolation of two Vectors.
14 years ago
Vladimír Vondruš
1eef70b184
Doc++
14 years ago
Vladimír Vondruš
a4514e7acb
Brought Math::Quaternion<GLfloat> into Magnum namespace as Quaternion.
14 years ago
Vladimír Vondruš
c7d7fdad28
Math: removed done TODO.
14 years ago
Vladimír Vondruš
f06b53724c
Math: spherical linear Quaternion interpolation.
14 years ago
Vladimír Vondruš
538601fc06
Minor code cleanup.
14 years ago
Vladimír Vondruš
b9f21d1430
Removed unnecessary prefix from test filename.
...
My brain is lagging behind my keyboard.
14 years ago
Vladimír Vondruš
669a08daa5
Math: angle between two quaternions.
...
Also updated related Vector test.
14 years ago
Vladimír Vondruš
53a95b6296
Math: test also parameterless Quaternion::dot().
...
Just to be sure (and to be consistent with Vector test).
14 years ago
Vladimír Vondruš
23a94b2709
Math: Quaternion has dot product too!
...
Original lengthSquared() renamed to parameterless dot(), it is now
consistent with what Vector has. Also updated related Vector
documentation.
14 years ago
Vladimír Vondruš
ed147ebe40
Math: linear Quaternion interpolation.
14 years ago
Vladimír Vondruš
eaa819755f
Math: added Quaternion addition and subtraction.
14 years ago
Vladimír Vondruš
705bf3f597
Math: reverse scalar/quaternion multiplication and division operators.
...
Also updated related documentation in RectangularMatrix.
14 years ago
Vladimír Vondruš
eeed955154
Minor code cleanup.
14 years ago
Vladimír Vondruš
d9c900f076
Doc++
...
* Added math equations to Quaternion, Vector and Matrix method
documentation.
* Removed confusing Quat*=Quat operator overload, as it isn't exactly
clear from which side the non-commutative multiplication is done:
Quaternion a;
a *= b; // eh?
a = a*b; // okay!
For similar reason this operator wasn't present in RectangularMatrix
either.
* Unified documentation of expected vector/quaternion normalization
state. Now it is not "assumed" but "expected", because failing to do
so results in assertion failure.
14 years ago
Vladimír Vondruš
b55f3a2071
Math: function for negating Quaternion, improved tests.
14 years ago
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