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š
9fcfd5ee25
Platform: fix compilation of WindowlessWindowsEglApplication.
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š
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š
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š
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š
a2c8435ede
Use new TestSuite numeric comparators where appropriate.
10 years ago
Vladimír Vondruš
cf185b00fa
Math: add explicit boolean conversion to BoolVector.
10 years ago
Vladimír Vondruš
90b005cfa3
Doc++
...
I have no idea what I was doing here. Insufficient focus again.
10 years ago
Vladimír Vondruš
5c7b1a0eb2
Math: simplify Matrix4::lookAt().
10 years ago
Vladimír Vondruš
6422a27b46
Math: improve Matrix4::lookAt() test.
...
It now verifies all assumptions about how the resulting matrix should
look like.
10 years ago
Vladimír Vondruš
56e75295be
Math: mention more useful dot product and determinant properties.
10 years ago
Vladimír Vondruš
832289f7c3
SceneGraph: ability to access parent from AbstractObject.
...
Didn't do any tests because there's nothing for AbstractObject anyway
(it's on my TODO list, though).
10 years ago
Vladimír Vondruš
8b06913534
CMake: make the plugin directories used in utilities more configurable.
...
In particular it is now possible to override the MAGNUM_PLUGINS_DIR
variables and even specify them relative, which will make them relative
to executable location.
It's nice when everything clicks together :)
10 years ago
Vladimír Vondruš
ddf6cd27f0
CMake: install plugin binary / library to different places.
...
In order to have it correct on Windows where DLLs should be next to
executables.
10 years ago
Vladimír Vondruš
e9a2623e02
Math: expect NoInit test failures on GCC 6.1+ with optimizations enabled.
...
It's nothing harmful, just inefficient.
10 years ago
Vladimír Vondruš
71f57b5378
Shaders: fixed default Phong light color in ES builds.
...
The cause was careless coding in
da2ac00478 . I desperately need those
shader output tests :/
10 years ago
Vladimír Vondruš
5ca4e2e517
Fix compilation on WebGL 2.
10 years ago
Vladimír Vondruš
a60dc74dac
Implemented Mesh::draw(..., TransformFeedback&).
...
Supports classic, instanced, stream and stream instanced draw. With this
I consider the transform feedback implementation complete.
10 years ago
Vladimír Vondruš
40205b47de
Explicitly mention extension requirements of Mesh[View]::draw().
...
They were mentioned in various setters, but never together in a single
place.
10 years ago
Vladimír Vondruš
bec5f5471d
Added missing getters to MeshView to match Mesh API.
10 years ago
Vladimír Vondruš
7b60cad9b0
Properly handle instance count in the fallback multi draw implementation.
10 years ago
Vladimír Vondruš
b6dbc8fc58
Check for mesh emptiness even before binding the shader.
...
Prevents unnecessary state touching.
10 years ago
Vladimír Vondruš
2519f9fc06
Test: don't have unnecessarily large buffer size for XFB.
...
Caused me a few minutes figuring out what's wrong and why my overflow
query doesn't work.
10 years ago
Vladimír Vondruš
9642869c59
Implemented ARB_transform_feedback_overflow_query.
10 years ago
Vladimír Vondruš
9373a2e01d
Support for AMD_transform_feedback3_lines_triangles.
...
Just adding the extension to the list, otherwise not much to do.
10 years ago
Vladimír Vondruš
f275143e9f
Support for indexed primitive queries.
...
Amazing how it all still fits my original design without needing to
rewrite half of the API.
10 years ago