Vladimír Vondruš
cf0ca06d39
NaClApplication: relative position in MouseMoveEvent.
14 years ago
Vladimír Vondruš
b013c0d26e
Sdl2Application: proper implementation of event accepting/rejecting.
...
It actually IS useful for event propagation.
14 years ago
Vladimír Vondruš
6dda7e4c1f
Convenience functions for accessing Matrix[34] vectors.
14 years ago
Vladimír Vondruš
7cdbad0557
Sdl2Application: also lock cursor to window when locking mouse.
14 years ago
Vladimír Vondruš
ddc0652272
Sdl2Application: make mouse locking functions public.
14 years ago
Vladimír Vondruš
fabbb99722
NaClApplication: fix improper assertion.
...
Apparently input events can be processed during buffer swapping. Now
asserting that callback from buffer swap is not called during input
event processing (which shouldn't, as both functions should be called in
the same thread).
14 years ago
Vladimír Vondruš
a7eff451d4
Added missing include.
...
Curious why it was unnoticed until now.
14 years ago
Vladimír Vondruš
6f492de8e3
Physics: work around cyclic dependency of ObjectShape.h and OSGroup.h.
14 years ago
Vladimír Vondruš
03e6c9859c
Mention forward declarations and headers in coding style.
14 years ago
Vladimír Vondruš
d2cd358495
Forward declarations for enums in SceneGraph.
14 years ago
Vladimír Vondruš
19a92f3ca7
Forward declarations for Physics namespace in Physics/Physics.h.
14 years ago
Vladimír Vondruš
858661fa7e
Sdl2Application: support for mouse locking.
14 years ago
Vladimír Vondruš
5b16dbb550
Sdl2Application: support for relative position in mouse move event.
14 years ago
Vladimír Vondruš
2ad7fea174
Sdl2Application: support for modifiers also in mouse events.
...
Lazily loaded on user request.
14 years ago
Vladimír Vondruš
c01c522248
Mention Native Client buffer requirements.
...
Allow more convenient target hint setting.
14 years ago
Vladimír Vondruš
deb629dde1
Doc: extended best practices page for future additions.
14 years ago
Vladimír Vondruš
308a92a911
Shaders: pass normal matrix the right way.
...
Besides that this was long overdue, GLSL ES doesn't have mat3x3().
14 years ago
Vladimír Vondruš
69ee2f3ebb
Shaders: don't compare ints and floats.
...
Fails on GLSL ES.
14 years ago
Vladimír Vondruš
57f3175b06
Shaders: GLSL ES doesn't have default values for uniforms.
...
If targetting GLSL ES the values are set on initialization explicitly
from application.
14 years ago
Vladimír Vondruš
3b3a164212
Doc++
14 years ago
Vladimír Vondruš
9b18e2b3e8
Don't issue draw call if there is nothing to draw.
14 years ago
Vladimír Vondruš
8abc836ae4
Allow passing nullptr to IndexedMesh::setIndexBuffer().
...
Similar functionality should be in Mesh itself for unbinding vertex
buffers.
14 years ago
Vladimír Vondruš
5ef729e897
Overloads in IndexedMesh to avoid WTFs in method chaining order.
14 years ago
Vladimír Vondruš
22cf5663c0
Use override keyword also here.
14 years ago
Vladimír Vondruš
d3385b54c6
Default constructor of ResourceKey creates zero key.
...
When resource access later fails on not loaded data, zero key in
assertion message might hint that the Resource instance was
default-constructed and thus not loaded at all.
14 years ago
Vladimír Vondruš
1809107ff2
Resource: assert when accessing not loaded data.
14 years ago
Vladimír Vondruš
681914e2d0
Forward declarations for Shaders namespace in Shaders/Shaders.h.
14 years ago
Vladimír Vondruš
8f83485653
Forward declarations for Magnum namespace in Magnum.h header.
14 years ago
Vladimír Vondruš
a636792b19
AbstractShaderProgram: query for max supported attribute count.
14 years ago
Vladimír Vondruš
0200ffe74c
NaClApplication: using special classes for input events.
...
NaCl and SDL2 are now hotswappable again without any unimplemented or
superfluous function parameters.
Also added missing EnumSet operators for Modifiers.
14 years ago
Vladimír Vondruš
5354396af6
Sdl2Application: using special classes for input events.
...
Will make lazy-loading possible and allows for less-constrained static
polymorphism.
14 years ago
Vladimír Vondruš
a3c37cd277
Doc++, minor cleanup.
14 years ago
Vladimír Vondruš
1a729aa3af
NaClApplication: mouse input handling.
14 years ago
Vladimír Vondruš
54dc556eb5
NaClApplication: keyboard input handling.
14 years ago
Vladimír Vondruš
3d92162505
Sdl2Application: cursor position for key events is not available either.
14 years ago
Vladimír Vondruš
9505e0b3c1
Sdl2Application: added missing keys.
...
Now nearly full static compatibility with AbstractXApplication.
14 years ago
Vladimír Vondruš
4f9e13b2cb
Sdl2Application: implemented modifiers.
...
In SDL they are only for keyboard events and there is no support
for mouse modifiers like in X. Also reordered the enum in
AbstractXApplication to make it consistent.
14 years ago
Vladimír Vondruš
6b35d7bf1d
@todo++
14 years ago
Vladimír Vondruš
36a55e1fc1
Documentation: portability tips.
14 years ago
Vladimír Vondruš
8789c31dec
Platform: macros for easier creation of application entry points.
14 years ago
Vladimír Vondruš
d4286117e5
Added extension.
14 years ago
Vladimír Vondruš
1b06c24ae6
Physics: properly instantiate and export global debugdraw manager instance.
...
Otherwise it failed at runtime on assertion in instance().
14 years ago
Vladimír Vondruš
b2a5f535d7
ResourceManager: allow users to instantiate internalInstance() only once.
...
It is cumbersome, but otherwise the linking (on mingw) fails with
multiple definition errors.
14 years ago
Vladimír Vondruš
4cc78e4cd3
Physics: debug renderer for AABB.
...
Using common base for Box and AABB, as the primitives are the same, but
only draw function differs.
14 years ago
Vladimír Vondruš
124b5b73b6
ResourceManager: wrap global instance pointer in a function.
...
This way only single function can be marked with "extern template" to
avoid nasty issues with multiple definition errors.
14 years ago
Vladimír Vondruš
d1e6ff1490
ResourceManager: assertions on global instance pointer.
...
Better be sure than crash somewhere deep in STL code.
14 years ago
Vladimír Vondruš
51bc8bd675
Fixed compilation on mingw.
14 years ago
Vladimír Vondruš
1e2720eeb7
Explicit template instantiation for common matrix and vector functions.
...
Common types used in OpenGL have now explicit template instantiation for
debug operators and configuration value parsers/readers.
14 years ago
Vladimír Vondruš
ae78b77b10
Added some @todos .
14 years ago
Vladimír Vondruš
ee6d0ef438
Physics: ported debug draw to new SceneGraph.
...
Debug renderers are now subclasses of Drawable feature.
14 years ago