Vladimír Vondruš
8a011b7c4e
Use more general MAGNUM_TARGET_WEBGL instead of CORRADE_TARGET_EMSCRIPTEN.
...
Only where it matters, though.
12 years ago
Vladimír Vondruš
6ea243d246
doc: document all WebGL restrictions.
12 years ago
Vladimír Vondruš
6dee292654
Added MAGNUM_TARGET_WEBGL definition.
...
Treating JavaScript and WebGL as first-class compile target. What the
world had come to :-)
12 years ago
Vladimír Vondruš
e5c366c6af
Doc++
12 years ago
Vladimír Vondruš
1b85fba608
Minor cleanup.
12 years ago
Vladimír Vondruš
35e49c47e2
doc: mention more features in math documentation.
...
Introduce angle classes, more thoroughly explain the type conversion and
do overview of component-wise functions.
12 years ago
Vladimír Vondruš
a72ca4b2b6
Math: doc++
12 years ago
Vladimír Vondruš
8e9aa554f7
Doc++
12 years ago
Vladimír Vondruš
22155e575a
Don't show *_EXPORT macros in the documentation.
...
Got broken probably when trying to work around the issues with
CORRADE_DEPRECATED() macro.
12 years ago
Vladimír Vondruš
7a1789470a
Initial ARB_multi_bind usage in *Texture::bind().
12 years ago
Vladimír Vondruš
b5017752a3
Platform: fix Emscripten build.
12 years ago
Vladimír Vondruš
4ce0135154
package: fix Emscripten PKGBUILD.
...
Caused by cb987f25d3 , unnoticed since.
12 years ago
Vladimír Vondruš
fde41147be
ObjImporter: fix compilation on GCC 4.6.
12 years ago
Vladimír Vondruš
617e52436a
Fix ES build.
12 years ago
Vladimír Vondruš
b5814305bd
Missing undef.
12 years ago
Vladimír Vondruš
d4ec4ed339
package: run the tests multiprocess.
...
They are now taking too long (9 secs), with -j5 just 3 secs.
12 years ago
Vladimír Vondruš
085d96ce25
Platform: support for debug context flag in GlutApplication.
...
For some weird reason this doesn't work for me.
12 years ago
Vladimír Vondruš
c275640ee0
Platform: ability to specify context flags in Sdl2Application.
...
Finally proper support for debug contexts :-)
12 years ago
Vladimír Vondruš
0d7f779125
Platform: don't display limits by default.
...
The output with limits is overly verbose and I caught myself typing
`magnum-info --no-limits` all the time, so let's reverse the default.
12 years ago
Vladimír Vondruš
2e700ee384
Platform: create context later so its output is at better place.
12 years ago
Vladimír Vondruš
6c2740b7d9
Platform: print context flags in magnum-info.
12 years ago
Vladimír Vondruš
ca320d9e37
Debug output operator for Context::Flag enum.
12 years ago
Vladimír Vondruš
25994f28ab
Follow OpenGL naming in Context::Flag enum.
...
As usual, the old Context::Flag::Robustness is marked deprecated and
will be removed in future release.
12 years ago
Vladimír Vondruš
05f677cc30
Platform: removed deprecated Flags from Sdl2Application::Configuration.
...
WindowFlags should be used instead, these would now conflict with
context flags.
12 years ago
Vladimír Vondruš
2f8e5f31a1
Make Image*::release() documentation clearer.
12 years ago
Vladimír Vondruš
8adde55377
Platform: improve documentation of redraw() function.
...
Make it clear that it's possible and non-harmful to call it from
drawEvent() itself.
12 years ago
Vladimír Vondruš
cfca2b50df
Platform: doc++
...
Display actual named constants in Doxygen.
12 years ago
Vladimír Vondruš
93de51c32f
Added EXT_shader_integer_mix to extension list.
12 years ago
Vladimír Vondruš
30809a86f3
Shapes: updated and cleaned up the documentation.
12 years ago
Vladimír Vondruš
9d2ea4ba15
Shapes: removed unused variable from the test.
...
The purpose wasn't commented at all, so I may just assume that it got
lost after some refactoring.
12 years ago
Vladimír Vondruš
218b950aed
Shapes: added Shape::collision().
...
Much like Shape::collides() is equivalent to the more low-level
collision detection using operator%, the Shape::collision() returns
collision details similarly to operator/. Currently only Sphere/Sphere
and Sphere/Point collision is done, thus the dispatch is nearly empty.
12 years ago
Vladimír Vondruš
e76178691d
Shapes: added missing test for Shape::collides().
...
There is one not-yet-sure-about behavior, expecting the failure.
12 years ago
Vladimír Vondruš
4027a097e4
package: build ObjImporter in all packages by default.
12 years ago
Vladimír Vondruš
6910281731
MeshTools: be const-correct.
12 years ago
Vladimír Vondruš
cdf24cb58c
Proper detection for AMD driver bug workaround.
...
Not sure where I got that.
12 years ago
Vladimír Vondruš
0311ff01c3
MeshTools: sorry about this mess.
12 years ago
Vladimír Vondruš
5ffe761bad
Shaders: doc++
12 years ago
Vladimír Vondruš
26e7c9ce34
MeshTools: added compile() function.
...
All-in-one solution for preparing generic meshes with optional normals
and texture coordinates, configured for use with Shaders::Generic.
12 years ago
Vladimír Vondruš
a7db8052ea
Define AbstractShaderProgram::Attribute<T>::Type as T.
...
The original comment is now saying the truth.
12 years ago
Vladimír Vondruš
980503a509
Renamed AbstractShaderProgram::Attribute::Type to ScalarType.
...
In all other places (e.g. Math, SceneGraph), SomeClass<T>::Type is
always T. I spent twenty minutes figuring out what went wrong, so better
have this consistent.
Also update the test to check for these, as they apparently were tested
only indirectly through the MeshGLTest.
12 years ago
Vladimír Vondruš
6dfd6d4ddb
Why the heck did I leave inline here?
12 years ago
Vladimír Vondruš
dc4f667f7b
MeshTools: added interleaveInto().
...
Basically a version of interleave() which takes existing buffer instead
of creating new zero-initialized one. The last bit needed for real
runtime usage.
12 years ago
Vladimír Vondruš
4fe1ecd447
MeshTools: use zero-initialized array in interleave().
...
Surely is faster than calling std::memset for every zero byte.
12 years ago
Vladimír Vondruš
06b3508719
MeshTools: refactored implementation of interleave().
...
Everything are now pure functions, no shared state, no useless functor
class wrapping. Still needed to wrap attribute count and stride
computation functions in struct to make proper overload resolution
working without the need to deinline the functions (they have cyclic
dependencies).
12 years ago
Vladimír Vondruš
b666044a47
Actually make use of Color[34]ub typedefs.
12 years ago
Vladimír Vondruš
aaa6d2e2b1
Fixed PrimitiveQuery documentation.
...
Somehow this slipped through when splitting out the timer functions into
TimeQuery in 5f00a1926d (a year ago!).
12 years ago
Vladimír Vondruš
1b2edafcec
WavAudioImporter: use PIC only when needed.
...
Also we don't export anything, so no need for -D*_EXPORTS definition.
12 years ago
Vladimír Vondruš
8ee4d08d87
ObjImporter: the indices are actually global to whole file.
...
There just isn't any sane and easily parsable format.
12 years ago
Vladimír Vondruš
77e38fcce3
New ObjImporter plugin.
12 years ago
Vladimír Vondruš
598f31b9e3
MeshTools: check for proper stride value in combineIndexArrays().
12 years ago