Vladimír Vondruš
2295f43873
Updated copyright year.
4 years ago
Vladimír Vondruš
84f9bb2a9d
Updated copyright year.
5 years ago
Vladimír Vondruš
b1d45fc85a
Updated copyright year.
6 years ago
Vladimír Vondruš
6bce9fbeb2
python: remove the black magic from magnum.platform.
...
Implicitly importing whole toolkits was not a good idea.
7 years ago
Vladimír Vondruš
e07e61c1ef
python: expose Image.
...
Owning counterpart to ImageView.
7 years ago
Vladimír Vondruš
3c9643ce74
python: expose textures and related APIs.
7 years ago
Vladimír Vondruš
c8e99ca086
python: expose corrade and magnum compilation defines.
7 years ago
Vladimír Vondruš
0d671c823c
python: wire in the WindowlessWglApplication.
7 years ago
Vladimír Vondruš
59969c3f67
python: expose (Mutable)ImageView.
7 years ago
Vladimír Vondruš
1e4a9c424e
python: bind PixelFormat and PixelStorage.
...
Just the uncompressed ones for now.
7 years ago
Vladimír Vondruš
3dcb176c80
python: bind Math::Range.
7 years ago
Vladimír Vondruš
d050145e51
python: put everything into a single module if magnum is built statically.
...
That makes it much easier to handle in that case (because that's the
whole point of static builds) and also nicely circumvents any issues
with duplicated global data when a static lib would be linked to
multiple dynamic libraries.
7 years ago
Vladimír Vondruš
d0d028f72d
python: make the main bindings _magnum, not magnum._magnum.
7 years ago
Vladimír Vondruš
8b1efde15f
python: add generic MeshPrimitive and MeshIndexType enums.
7 years ago
Vladimír Vondruš
998c428355
python: expose Color3 and Color4.
...
Mainly for RGB -> RGBA shortcuts. Need to invent some nice decoding from
a string.
7 years ago
Vladimír Vondruš
4cca099297
python: make `import magnum.math` working.
7 years ago
Vladimír Vondruš
a55a7e6009
python: expose Quaternion.
7 years ago
Vladimír Vondruš
bd49350994
python: expose Matrix3 and Matrix4.
...
The clash of static constructors and members / properties is ...
unfortunate. This is resolved using a minor hack, but I think that's
warranted if it preserves C++/Python API compatibility. The
translation() static constructor and property is not done yet, tho.
7 years ago
Vladimír Vondruš
44503539e7
python: expose matrix types.
...
Not the Matrix4 / Matrix3 transformation types yet, though.
7 years ago
Vladimír Vondruš
081d32938a
python: expose all Vector variants.
7 years ago
Vladimír Vondruš
e305eb4c7e
python: expose BoolVector.
7 years ago
Vladimír Vondruš
2922f28267
Initial code for the Python bindings, adding math angle types.
...
Only the double ones, exposed as floats, because the extra ALU required
by doubles is negligible to function call overhead. It'll be different
for non-scalar types, but here I use this.
7 years ago