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
Vladimír Vondruš
ae9914c587
Provide information about compatibility and ES 2.0 target to users.
14 years ago
Vladimír Vondruš
5d72cdc6a6
Updated toolchains submodule with NaCl support.
14 years ago
Vladimír Vondruš
17ee1d7fd8
Shaders: portable vertex color shader (currently 2D only).
14 years ago
Vladimír Vondruš
81b69f17e1
Shaders: another iteration in porting of Phong and Flat shaders to GLES.
...
Hope the reduced precision won't hurt.
14 years ago
Vladimír Vondruš
a4d5d3682b
Doc: added page with links to valuable "best practices" information.
14 years ago
Vladimír Vondruš
2779455c5f
Moved configuration to root CMakeLists so it is near to option() calls.
14 years ago
Vladimír Vondruš
93a5e7230f
Use OpenGL ES 2.0 specific definitions for extension-only functionality.
...
If targetting explicitly OpenGL ES 2.0, only gl2.h is included (not
gl3.h).
14 years ago
Vladimír Vondruš
9ccb1869fc
Added headers for OpenGL ES 2.0.
14 years ago
Vladimír Vondruš
79e39585d3
Updated external OpenGL headers.
14 years ago
Vladimír Vondruš
45a236fb07
Temporary workaround for extension-only functionality in ES 2.0.
...
Will be re-enabled when some solution for extensions is done.
14 years ago