Vladimír Vondruš
b1d45fc85a
Updated copyright year.
6 years ago
Vladimír Vondruš
e8198cb97e
python: fix PyInit_* declarations to work on Windows as well.
...
Co-authored-by: Cameron Egbert <cegbert@oculus.com>
7 years ago
Vladimír Vondruš
d36aa31a37
python: properly provide virtual destructors for Application classes.
...
This time I actually have to thank you, Clang.
7 years ago
Vladimír Vondruš
375a22f08d
python: suppress Clang's -Wgnu-zero-variadic-macro-arguments warning.
...
Hmm. I seem to be the only one on Earth using pybind11 with Clang. Or
does everyone else just ignore all those warnings?!
7 years ago
Vladimír Vondruš
68e28685ff
python: fix Clang's -Wmissing-prototypes warnings.
...
This is a temporary change until a PR fixing this on pybind11 side is
merged (and a new version released).
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š
21ee51fd96
python: do as little as possible in PYBIND11_MODULE.
7 years ago
Vladimír Vondruš
caa1619eef
python: expose Windowless{Glx,Egl}Application in platform.{glx,egl}.
...
One of them is then available through the platform.WindowlessApplication
alias. The selection is a bit arbitrary now, but has to suffice.
7 years ago
Vladimír Vondruš
a55a7e6009
python: expose Quaternion.
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š
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