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
Vladimír Vondruš
07e70c70a3
Physics: adapted ObjectShape to new SceneGraph implementation.
...
Before it was subclass of Object, now it is implemented as feature.
14 years ago
Vladimír Vondruš
9e2b71d2a9
SceneGraph: test Object::transformations() for empty list.
14 years ago
Vladimír Vondruš
aa05235c65
SceneGraph: function for bulk cleaning of objects.
14 years ago
Vladimír Vondruš
466008bba8
SceneGraph: externalized object cleaning function.
...
Will be used elsewhere.
14 years ago
Vladimír Vondruš
4a561dd923
SceneGraph: minor renaming in ObjectTest.
14 years ago
Vladimír Vondruš
e7539b6fbd
Improved template implementation files documentation.
...
* ResourceManager won't have template implementation file, as it would
add too much work on the user.
* Color won't have either, as some internal functions are impossible to
explicitly instantiate.
14 years ago
Vladimír Vondruš
68a28f5098
Shaders: Fixed FlatShader fragment shader compilation.
14 years ago
Vladimír Vondruš
6dc7a163cc
SceneGraph: doc++
...
Mention default template arguments and LinkedList usage.
14 years ago
Vladimír Vondruš
8faf3323bb
SceneGraph: Solved default template parameter conflicts.
...
Using header with forward declarations, containing declarations for all
classes with default parameters. The classes themselves don't have the
defaults.
This also allows users to more conveniently forward-declare instead of
digging in sources and writing the declarations on their own.
14 years ago
Vladimír Vondruš
8292bd3f6c
Documented building for Google Chrome Native Client.
14 years ago
Vladimír Vondruš
a74890068b
PKGBUILD-nacl: Build both 32b and 64b versions.
14 years ago
Vladimír Vondruš
e3b59b18e3
Updated toolchains submodule.
14 years ago
Vladimír Vondruš
3fd6480a1b
FindMagnum.cmake: show library path in FPHSA rather than include dir.
...
Library path will reflect various lib dir suffixes.
14 years ago
Vladimír Vondruš
4d69874c92
Updated FindCorrade.cmake from Corrade repository.
14 years ago
Vladimír Vondruš
43770ada63
Doc++
14 years ago
Vladimír Vondruš
bfe99dcf23
Default type for DimensionTraits.
14 years ago
Vladimír Vondruš
fc9ac0fe0f
SceneGraph: split FeatureGroup and AbstractGroupedFeature file.
14 years ago
Vladimír Vondruš
f7d002d06d
Debug operator for shape type.
14 years ago
Vladimír Vondruš
6efb5607fa
SceneGraph: renamed multiplyTransformation() to transform().
...
It is shorter and looks better.
14 years ago
Vladimír Vondruš
767c9d6166
SceneGraph: AbstractCamera, Camera2D, Camera3D are now in separate files.
14 years ago
Vladimír Vondruš
616c4101cb
Doc++
14 years ago
Vladimír Vondruš
e508da2b6a
Moved AspectRatioPolicy enum out of Camera class.
...
It was pain to type it with all the template parameters (`typename
AbstractCamera<dimensions, T>::AspectRatioPolicy`,
`Camera3D<>::AspectRatioPolicy::Extend`...) and it looked like it is
different for each camera template (which internally wasn't).
14 years ago
Vladimír Vondruš
9d9517c824
Vector::angle(): reflect normalization requirement in parameter names.
...
Will be more intuitive when IDE autocompletion kicks in.
14 years ago
Vladimír Vondruš
3308bcaa22
Added PKGBUILD for easy NaCl builds.
14 years ago
Vladimír Vondruš
643977abbd
Platform: support for NaCl applications.
14 years ago
Vladimír Vondruš
15f27148b7
Doc: building updates and fixes.
14 years ago
Vladimír Vondruš
9cf48eee56
Platform: removed unneeded AbstractApplication base.
...
It's really not needed to have useless class defining only one function
(which wouldn't be used everywhere anyway).
14 years ago
Vladimír Vondruš
e1cd13021b
Platform/Application renaming.
...
Because with NaCl WindowContext doesn't make sense anymore, the classes
are now renamed:
* Contexts namespace -> Platform
* *WindowContext -> Application
Hopefully this is (one of) last crazy renaming runs.
14 years ago
Vladimír Vondruš
4d3dd19b9d
Initial NaCl support.
...
* Explicitly set OpenGL ES 2.0 support.
* Provide information about NaCl target to users.
14 years ago