Vladimír Vondruš
8e1e52d667
doc: updated credits and changelog.
7 years ago
Michael Tao
bce9a9d5f0
doc: fix gentoo build instructions (99999 -> 9999 in the ebuild path).
7 years ago
Squareys
62e74ea324
dox: Link to building-doc from developer guide
...
Signed-off-by: Squareys <squareys@googlemail.com>
7 years ago
Vladimír Vondruš
aa67673faf
doc: mention EmscriptenApplication everywhere.
7 years ago
Vladimír Vondruš
de0d991018
Platform: add EmscriptenApplication::setContainerCssClass().
7 years ago
Vladimír Vondruš
fc4860e30a
Platform: give the docs the love they deserve.
7 years ago
Squareys
b970b4d247
Platform: Add initial EmscriptenApplication
...
Signed-off-by: Squareys <squareys@googlemail.com>
7 years ago
Vladimír Vondruš
b11873b975
doc: updated changelog.
7 years ago
Guillaume Jacquemin
8029abca07
Audio: add support for buffer loop points.
...
This feature requires the AL_SOFT_loop_points extension.
7 years ago
Vladimír Vondruš
f7a2694390
SceneGraph: expose Type typedef and Dimensions constant everywhere.
7 years ago
Vladimír Vondruš
4b1c76411e
doc: updated changelog.
7 years ago
Vladimír Vondruš
e3eebd34b7
Add templated Image{,View,Data}::pixels().
...
It's potentially dangerous because the user is responsible for choosing
a correct type, on the other hand forcing them to do it verbosely
through arrayCast() is both too annoying and too hard to explain.
7 years ago
Vladimír Vondruš
a6df7493bb
doc: remove info about the Ubuntu PPA from building docs.
...
Last version there is 2018.04 and it only lures people into installing
an outdated version.
7 years ago
Vladimír Vondruš
0cb4ded506
Shaders: add normal texture support to Phong.
...
Note -- since there are no visual tests for Phong yet, this is done in
the least intrusive manner to avoid breaking current functionality. It's
likely very underperforming due to the matric calculation per fragment,
it'll get optimized once I have proper tests.
7 years ago
Vladimír Vondruš
528e3822dc
Shaders: added Tangent generic vertex attribute.
7 years ago
Vladimír Vondruš
77abf4a47c
doc: update changelog.
7 years ago
Vladimír Vondruš
a4310b9a31
MeshTools: added generateSmoothNormals().
...
This was a *fun* algorithmic exercise. Seriously.
7 years ago
Vladimír Vondruš
d20a17c5c3
MeshTools: ability to generate flat normals in compile().
7 years ago
Vladimír Vondruš
1de258a6b2
MeshTools: de-STL-ify generateFlatNormals().
...
Also move it to a new GenerateNormals.h header so we can easily add
generateSmoothNormals() to it. The old API and header is deprecated and
will be removed in the future. I can't be bothered rewriting the old
code using the new thing, so it's preserved there as a mausoleum until
it gets finally nuked from the orbit.
7 years ago
Vladimír Vondruš
61397afc31
MeshTools: make a version of duplicate() not dependent on std::vector.
...
Provide a version taking StridedArrayView instead, taking an arbitrary
view and also arbitrary index type. Also introduce duplicateInto() which
doesn't even allocate, but rather writes the output to pre-existing
location.
7 years ago
Vladimír Vondruš
8e5ecfacac
Math: ignore NaNs also in Vector::min(), max() and minmax().
...
To have the API consistent.
7 years ago
Vladimír Vondruš
45e19fe032
doc: updated changelog and credits.
7 years ago
Vladimír Vondruš
bd4ed9ae0e
Math: make batch functions accept strided array views.
...
The obvious improvement.
7 years ago
Vladimír Vondruš
2a9f4a1fed
Math: hint that lerpInverted() can be used for rane mapping.
7 years ago
Vladimír Vondruš
46fdb38cd2
Math: make batch min() / max() / minmax() ignore NaNs.
7 years ago
Vladimír Vondruš
d38303505d
Math: added batch isInf() and isNan().
7 years ago
Vladimír Vondruš
75ffd39fe0
Math: make it possible to use Deg/Rad in all functions.
...
This should have been here ages ago, haha.
7 years ago
Vladimír Vondruš
7941a769cd
Math: added IsUnitless type trait.
7 years ago
Vladimír Vondruš
19844352ff
Math: added UnderlyingTypeOf.
7 years ago
Vladimír Vondruš
aa2adb7222
Math: add IsScalar, IsVector, IsIntegral and IsFloatingPoint type traits.
...
The standard ones are not good enough, so let's roll out my own.
7 years ago
Vladimír Vondruš
e4db99b418
Updated changelog and credits.
7 years ago
Vladimír Vondruš
f8fc9a7339
doc: oops, forgot these files.
7 years ago
Vladimír Vondruš
9ec10b89d0
plugins: fix linking of static Any* plugins on otherwise dynamic builds.
7 years ago
Vladimír Vondruš
f383959fb0
Platform: fix SDL2/GLFW viewportEvent() on Retina-aware {i,mac}OS apps.
7 years ago
Vladimír Vondruš
70993983b6
doc: this is wrong.
7 years ago
Vladimír Vondruš
442d5576d0
Math: change the way BoolVector is printed to Debug.
...
Found while working on the Python bindings --- BoolVector4(0b1010) got
printed as BoolVector(0101), which is totally confusing. Now it prints
it in a way that looks exactly the same as when constructing the vector
with binary literals.
7 years ago
Vladimír Vondruš
e5175583a7
Added Image::pixels(), ImageView::pixels() and Trade::ImageData::pixels().
...
Hard to explain in a tweet, err, commit message. Blog post incoming.
7 years ago
Vladimír Vondruš
4b6fabb004
Math: ability to Debug colors as actual colored squares.
7 years ago
Vladimír Vondruš
988a33c000
Added convenience BoolVector2, BoolVector3 and BoolVector4 typedefs.
7 years ago
Vladimír Vondruš
fb930187c1
Animation: adapt to Corrade changes.
7 years ago
Vladimír Vondruš
da7ac5a4f0
doc: updated changelog.
7 years ago
Vladimír Vondruš
8b37d4fd78
modules: different search order for plugin libs in FindMagnum.
...
This makes Vcpkg-built static plugins be found correctly. Previously
both the debug and release variant pointed to the same lib.
7 years ago
Vladimír Vondruš
eccebcbdd7
Accept nullptr in AbstractResourceLoader::set().
...
Also implement setNotFound() using set() and make the code more
flexible.
7 years ago
Vladimír Vondruš
de1e1fa4d5
MeshTools: make interleave() work with Corrade containers too.
7 years ago
Vladimír Vondruš
e1061f1766
MeshTools: fix a bad corner case in compile().
...
Having texture coordinates *and* colors is very unusual, nevertheless it
was a bug.
7 years ago
Vladimír Vondruš
36ba5f4333
Math: ensure ZeroInit and IdentityInit constructors are explicit.
...
Like NoInit ones. Not sure what I was doing there.
7 years ago
Vladimír Vondruš
1f305e7cbe
CMake: give priority to our own module path.
7 years ago
Vladimír Vondruš
687496fccb
CMake: make OpenGL_GL_PREFERENCE settable from outside.
7 years ago
Vladimír Vondruš
522db683a9
external: provide the GL_VERSION_* defines in our GL headers.
...
This fixes a conflicting definition of GLsizeiptr and GLintptr when
Magnum is combined with qopengl.h from Qt on Windows. Khronos has it as
`signed long int`, whereas qopengl.h as ptrdiff_t, which is just `int`.
7 years ago
Vladimír Vondruš
d557563a83
doc: updated changelog and credits.
7 years ago