Vladimír Vondruš
3cedefe14b
Math: remove GCC constexpr workaround from the tests.
10 years ago
Vladimír Vondruš
90c5001673
Math: remove dead frustum/box intersection code.
...
The additional corner checks are not implemented now, thus the code is
more complex than it needs to be.
10 years ago
Vladimír Vondruš
87f4fc46c2
Math: simplify the distance math.
...
Sum of all components of a component-wise vector multiplication is, in
fact, a dot product.
10 years ago
Vladimír Vondruš
01fa24910f
Math: conversion constructor for Frustum.
10 years ago
Vladimír Vondruš
3952a20099
Math: verify that the Frustum constructor is implicit.
10 years ago
Vladimír Vondruš
8d1d786698
Math: more Frustum data access functions, test for constexprness.
10 years ago
Vladimír Vondruš
3e2464cded
Math: default/identity and NoInit constructors for Frustum, tests.
10 years ago
Vladimír Vondruš
70ef473710
Math: verify that the NoInit constructors are explicit.
10 years ago
Vladimír Vondruš
310e1c1c25
Math: noexcept constructor for Frustum.
10 years ago
Vladimír Vondruš
54d1aefcba
Math: equality comparison for Frustum.
...
Together with the debug operator it allows for much simpler testing.
10 years ago
Vladimír Vondruš
376ea1e0b2
Math: debug operator for Frustum.
10 years ago
Vladimír Vondruš
28c31bfc96
Math: I don't see why we should have those overloads.
...
The compiler does that for us. Probably a brain fart from 2010. On the
other hand, the ConfigurationValue specializations need to be there,
because the type is used explicitly as template parameter.
10 years ago
Vladimír Vondruš
cfc622c92c
Math: explicitly instantiate commonly used Range debug operators.
...
Might save some executable bloat. Not sure why this wasn't done already.
10 years ago
Vladimír Vondruš
32f357752f
Math: the world is not just about OpenGL.
10 years ago
Vladimír Vondruš
605b34079e
Added typedefs and forward declaration for Math::Frustum.
10 years ago
Vladimír Vondruš
b7eb367dde
Math: cleanup, code compression.
10 years ago
Vladimír Vondruš
7bc1d9f129
Update credits.
10 years ago
Squareys
1f995d1ab2
Math: Add Distance::pointPlane* and two frustum intersection functions
...
`Intersection::pointFrustum` and `Intersection::boxFrustum`
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Squareys
0062fbf78e
Math: Add rudimentary Frustum class
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Vladimír Vondruš
bd8d807e1c
Make Linux/Windows code for windowless apps on ES more consistent.
10 years ago
Vladimír Vondruš
c64ee529f1
Updated toolchains submodule.
...
Forgot to do this earlier and the outdated version was not able to
handle Emscripten test correctly. Should fix the build.
10 years ago
Vladimír Vondruš
9fcfd5ee25
Platform: fix compilation of WindowlessWindowsEglApplication.
10 years ago
Vladimír Vondruš
6fe97e2547
package/ci: removed unneeded line from desktop GLES Travis build.
10 years ago
Vladimír Vondruš
1eb26bd1a5
Test: workaround/suppress leaks when ResourceManager is asserting.
...
The code is bad (yes, I know), but these should be harmless as the leaks
are really only when asserting.
10 years ago
Vladimír Vondruš
02b579e96c
package/ci: added AddressSanitizer build on Travis.
10 years ago
Vladimír Vondruš
1a077391ce
Math: expect failure in Double SVD test on recent Emscripten versions.
...
Something got broken (1.36.13, 14). Was working fine with 1.36.5.
10 years ago
Vladimír Vondruš
37565d5414
Math: print 8-bit colors as hex in Debug.
...
So #ffffff00 instead of Vector(255, 255, 255, 0). Much shorter with the
same information value.
10 years ago
Vladimír Vondruš
1fdd532910
Math: return proper subclass from Matrix::transposed().
10 years ago
Vladimír Vondruš
7ded9653bf
Tga{Importer,ImageConverter}: properly name the file format w/ extension.
...
For consistency with other image importing plugins.
10 years ago
Vladimír Vondruš
930018c2ad
Math: doc++
10 years ago
Vladimír Vondruš
5ddab8b308
modules: properly list modifications done to the FindOpenAL module.
10 years ago
Vladimír Vondruš
ae24ddd390
doc: provide link to SDL2 prebuilts to make it easier for Windows users.
10 years ago
Vladimír Vondruš
842e29fd33
YES, of course we build green also on Android.
10 years ago
Vladimír Vondruš
94a3ae8174
Final attempt to fix shaders w/o version directive.
...
Took me insane amount of time. I blame those 12-hour working days.
10 years ago
Vladimír Vondruš
ec83697242
Test that it's possible to compile a single-file shader w/o version.
...
It asserts. I'm having a really bad day today.
10 years ago
Vladimír Vondruš
db5e0f4e27
Don't add anything before user-specified shader version directive.
...
Thanks @acterhd for the report.
10 years ago
Vladimír Vondruš
90791c370a
Test that nothing is added before user-specified shader version directive.
...
Fails.
10 years ago
Vladimír Vondruš
5fcdd48808
Math: clarify what Matrix4::lookAt() does.
10 years ago
Vladimír Vondruš
ea7fce2e7b
OpenGL: fix the README links.
...
Markdown doesn't work this way.
10 years ago
Vladimír Vondruš
097134f884
TgaImageConverter: removed obsolete configuration header.
10 years ago
Vladimír Vondruš
69dfc39f30
Math: don't compare const char* as pointers in test by accident.
10 years ago
Vladimír Vondruš
210949f2dd
Math: long double is the same as double also on Android.
10 years ago
Vladimír Vondruš
9590f72388
ObjImporter: properly implement string-to-number on Android.
...
The string stream solution that was used in case of NaCl and Android
wasn't working at all, thus I discarded it in favor of less overhead-y C
functions. While strtoul() and others *are* defined in the std::
namespace, strtof() isn't. What a pile of crap. I also had to emulate
C++ exception behavior in order to match the std::stoul() and
std::stof() behavior.
This plugin needs a zero-copy rewrite anyway, but at least the test is
green now on all platforms.
I discarded the NaCl version because currently there's no toolchain for
it and I'm not going to guess whether stof() and friends are even there.
If they are, then it's just a matter of enabling the Android code path
also for NaCl.
10 years ago
Vladimír Vondruš
c47f8e04e3
Math: test for size of long double.
...
In order to have predictable results in the tests.
10 years ago
Vladimír Vondruš
60b56b0999
Math: no need for that GCC type deduction workaround anymore.
10 years ago
Vladimír Vondruš
91e497d562
package/ci: build for Android ES2/ES3 on Travis.
10 years ago
Vladimír Vondruš
081f79a766
Bundle test files for both Android and Emscripten.
10 years ago
Vladimír Vondruš
261c573557
Platform: build Android glue C source separately.
...
So I don't include the pedantic flags for it and don't treat it as C++
source.
10 years ago
Vladimír Vondruš
d1ce761cce
Trade: conditionally disable noexcept for GCC 4.9.0 in Android NDK.
...
It complains about singatures not matching the implicit and thus not
being defaultable. Works everywhere else, even on GCC 4.7 and 5.0, so I
don't bother.
10 years ago
Vladimír Vondruš
07b3a7352d
package/archlinux: build (but not run) tests on Android.
10 years ago