Vladimír Vondruš
8a35299636
Math: added Math::Range::contains() with Range as a parameter.
8 years ago
Vladimír Vondruš
6cb57534e6
Math: implemented intersect() and intersects() for Range.
...
One returns the intersection range, the other a boolean.
8 years ago
Vladimír Vondruš
59852ace85
Math: ability to slice Range into lower dimensions.
8 years ago
Vladimír Vondruš
ab91387ef7
GL: my OCD got triggered.
8 years ago
Vladimír Vondruš
7b33d67fe0
package/archlinux: lcov doesn't seem to get fixed anytime soon.
...
Using it with GCC 6, that produces correct output.
8 years ago
Vladimír Vondruš
a673e4d1d7
package/archlinux: added Clang ASan PKGBUILD.
...
Um, why this was not in the tree already?
8 years ago
Vladimír Vondruš
23dd5f21f2
Trade: fix build on GCC 4.8.
8 years ago
Vladimír Vondruš
9a13035603
SceneGraph: doc++
8 years ago
Vladimír Vondruš
d88e79cd9e
Math: new Color[34]::fromSrgb[Alpha]() and Color[34]::toSrgb[Alpha]Int().
...
For easier conversion of packed 24-/32-bit colors to the Color types.
8 years ago
Vladimír Vondruš
04f4917f7b
Math: disable floating-point vector ops on integral types.
...
Avoids accidents.
8 years ago
Vladimír Vondruš
5cb518a54e
SceneGraph: note the Animation API in the Animable class docs.
8 years ago
Vladimír Vondruš
212a01bae5
Trade: document AnimationData usage.
...
This is the last non-obvious thing that needs to be documented in order
to make the API usable.
8 years ago
Vladimír Vondruš
a45225938e
Trade: doc++
...
The reference is already above.
8 years ago
Vladimír Vondruš
fafcdcfa1c
SceneGraph: ability to affect order of items drawn by Camera.
8 years ago
Vladimír Vondruš
2d76e71abc
doc: updated changelog.
8 years ago
Vladimír Vondruš
b255f31ca4
SceneGraph: show both single and multiple inheritance in Drawable docs.
8 years ago
Vladimír Vondruš
d004db6075
SceneGraph: Camera::setViewport() and draw() don't need to be virtual.
...
If you need to override this functionality, simply call the subclass
implementation directly instead of calling it through a Camera
pointer/reference.
8 years ago
Vladimír Vondruš
37dfd0ed49
Trade: document how MeshData can be further transformed.
8 years ago
Vladimír Vondruš
c60217a6bc
AnyImageConverter: detect JPEG output as well.
8 years ago
Vladimír Vondruš
cdd469a20c
Updated README with links to changelog and community projects.
...
Because the explicit list of related projects inevitably got outdated.
8 years ago
Vladimír Vondruš
1eb4f6a081
doc: link to the changelog from the main page.
...
Because that's *important*.
8 years ago
Vladimír Vondruš
2a089f0e35
Primitives: these two were missing from 100% code coverage.
8 years ago
Vladimír Vondruš
261221c864
Math: make projection operator math consistent everywhere.
8 years ago
Vladimír Vondruš
44b059bbc5
Math/Algorithms: improve SVD docs, add a test for xform decomposition.
8 years ago
Vladimír Vondruš
3a8b1a2121
Math/Algorithms: reimplement QR decomposition using Gram-Schmidt.
...
That one is reportedly using the more stable implementation, so just use
it. The code is then also easier to follow. Also added a matrix
decomposition test case and referencing it from the docs, in case
someone would need it again.
8 years ago
Vladimír Vondruš
f9328e3f64
Math/Algorithms: update algorithm docs and make code snippets compiled.
...
And add a bunch more math equations. Of course there was deprecated
functionality being used and some stuff not even compiling.
8 years ago
Vladimír Vondruš
623786e1db
SceneGraph: make it possible to search for the Object*D/Scene*D typedefs.
...
Use code is full of these things and this makes it easier to discover.
8 years ago
Vladimír Vondruš
37e92ffd6d
Platform: fix a variable shadowing warning on MSVC.
...
I have a feeling that I fixed this once already. Where did that go?
8 years ago
Vladimír Vondruš
a46bb79a63
package/archlinux: test also w/o some shader-specific GL extensions.
...
For better coverage.
8 years ago
Vladimír Vondruš
02f0e0aeb9
Doc++
8 years ago
Vladimír Vondruš
0dae9d49c9
AnyImageImporter: adapt test to Corrade changes.
8 years ago
Vladimír Vondruš
d813ee2fde
doc: fix broken Shaders code snippets.
...
This is not how it should be.
8 years ago
Vladimír Vondruš
fd1572a3a3
Shaders: default ambient color in Phong to transparent black.
...
Makes it possible to support alpha-masked drawing out of the box,
shouldn't have any negative effect on anything else.
8 years ago
Vladimír Vondruš
0e9cb6945e
Shaders: define reasonable uniform defaults for all shaders.
...
Plus a bit of cleanup / fixing broken English.
8 years ago
Vladimír Vondruš
8e73cad1c1
Shaders: make the preprocessor less crazy and consistent with 2D.
...
What the heck. Probably 2011 me is to blame.
8 years ago
Vladimír Vondruš
daf287d2a6
Shaders: classical alpha masking support in Phong and Flat.
...
Slow and ugly, is here only for making quick'n'dirty alpha masked
drawing without a need for blending or depth sorting. Oh and also to
support the glTF alpha mask feature. Again, beware: *slow*.
8 years ago
Vladimír Vondruš
5201176cdb
Shaders: assert texturing is enabled when calling Flat::bindTexture().
8 years ago
Vladimír Vondruš
412ee9a04b
Shaders: simplify Flat shader test.
8 years ago
Vladimír Vondruš
f0a868da9c
Shaders: assert on Phong::bindTexture*() if no texture was enabled.
8 years ago
Vladimír Vondruš
bbebfa971f
Shaders: simplify the Phong construction test a bit.
...
Ugh.
8 years ago
Vladimír Vondruš
460df2b97c
Shaders: doc++
8 years ago
Vladimír Vondruš
6885f0647b
Shaders: minor code reordering.
8 years ago
Vladimír Vondruš
ea47a6e8f7
doc: disable a problematic code snippet on WinRT.
...
It has warnings-as-errors and thus doesn't like that one uninitialized
object. I need the ELLIPSIS macro already.
8 years ago
Vladimír Vondruš
4da2a2b503
Animation: fix XPASS on asm.js.
8 years ago
Vladimír Vondruš
ba08003d66
Animation: workaround so we're able to test with MSVC debug iterators on.
8 years ago
Vladimír Vondruš
7fc58ed112
Animation: work around an ICE involving std::chrono on MSVC 2017.
...
I lost two hours on pinpointing this one. Gah.
8 years ago
Vladimír Vondruš
fc454334ab
Animation: more MSVC fun!
8 years ago
Vladimír Vondruš
de28087903
Animation: make Player usable on MSVC.
...
MSVC 2015 and 2017 is clueless when it comes to trying to deduce the
template parameters (C2893: Failed to specialize function template). It
works when calling add<V, R> explicitly, but that makes the API hard to
use and inconsistent between platforms. The only possible workaround is
to make add() take *anything*, casting it to proper TrackView type and
then calling add() with explicit template parameters. This also neatly
resolves the Track/TrackView overload, as the static_cast is either a
no-op or it invokes the conversion operator on Track. The original code
also reportedly makes the Intellisense freezing like hell and adding
this overload fixes the freezes. Three birds with one stone.
The Player class definition is now full of typedefs, with the amount of
comments about why the typedefs are there much bigger than the actual
code. Oh well.
8 years ago
Vladimír Vondruš
e323ea7f26
Animation: properly handle Player with empty duration.
...
Turns out with current design we can allow fun things even for empty
durations. I like this.
8 years ago
Vladimír Vondruš
06c811bb4d
Animation: put a reminder for myself.
...
At the moment, with the major use case, which is playing back glTF
animations, one can't use atStrict() because there Extrapolation is
specified to be always Constant. The atStrict() function behaves as
Extrapolate and one would need to patch the imported tracks to add
explicit keyframes at the beginning/end of the duration that emulate the
Constant behavior.
8 years ago