Vladimír Vondruš
889e322122
Merge branch 'master' into compatibility
14 years ago
Vladimír Vondruš
dfccdf9b7e
Minor pedantic ordering fix.
14 years ago
Vladimír Vondruš
7c7163e17b
FindOpenGLES2.cmake: added library name for NaCl.
14 years ago
Vladimír Vondruš
67dbdd4b00
Fixed compiler warning when compiling with OpenGL ES support.
14 years ago
Vladimír Vondruš
5e648b2701
Fixed Color3/Color4 support in shader attributes.
14 years ago
Vladimír Vondruš
41f8c2c863
Enable GCC 4.6 compatibility if GCC 4.4/4.5 compatibility is enabled.
14 years ago
Vladimír Vondruš
46e68e1128
Updated FindCorrade.cmake from Corrade compatibility branch.
14 years ago
Vladimír Vondruš
63543400fd
GCC 4.5 compatibility: no range-based for.
14 years ago
Vladimír Vondruš
43467dc801
Merge branch 'master' into compatibility
14 years ago
Vladimír Vondruš
bef497c46a
SceneGraph rework, part 7: Drawable and Camera features.
...
* Camera is now templated also on underlying floating-point type.
* Drawable objects can be split into groups (e.g. for separated
rendering of transparent objects)
* Added (long time missing) test for draw() function.
14 years ago
Vladimír Vondruš
a65a0430d0
SceneGraph rework, part 6: base for grouped features.
14 years ago
Vladimír Vondruš
4e53b17f8d
SceneGraph rework, part 5: bulk transformation computing.
14 years ago
Vladimír Vondruš
ac38af4ef1
SceneGraph: cleanup and reorganization of Object test.
...
No functional change.
14 years ago
Vladimír Vondruš
342d2f46ac
SceneGraph: allow features to access scene and object's dirty status.
...
The downside of this is that the functions are now virtual, which makes
them slower than before. Maybe final qualifier would help?
AbstractObject::sceneObject() is marked as private in Object to avoid
confusion.
14 years ago
Vladimír Vondruš
abac1d26dc
SceneGraph rework, part 4: faster rotation for X, Y and Z axes.
...
By default implemented using rotate() so transformation implementers
don't need to bother, but MatrixTransformation3D reimplements it using
optimized rotation functions.
14 years ago
Vladimír Vondruš
06398dcf7c
SceneGraph rework, part 3: splitting base object.
...
Functionality present in Object is now split into three main components:
* Object itself, handling parent/children relationships
* Transformation implementation and interfaces for common functionality
* Object features, providing transformation caching and base for
cameras, collision shapes, rigid bodies etc.
Some functionality depending on former implementation is temporarily
disabled and will be reworked later.
14 years ago
Vladimír Vondruš
f66ded2d60
SceneGraph rework, part 2: introductional documentation.
...
To make sure we know where it all goes.
14 years ago
Vladimír Vondruš
f062f2dd86
SceneGraph rework, part 1: removed Light object.
...
It's nearly useless and doesn't contain any useful code. Will be done
differently.
14 years ago
Vladimír Vondruš
660776f03a
GCC 4.4 compatibility: no lambda functions.
14 years ago
Vladimír Vondruš
5ec4dff605
GCC 4.4 compatibility: no comparison of strongly typed enums.
14 years ago
Vladimír Vondruš
8d78001a90
Merge branch 'master' into compatibility
14 years ago
Vladimír Vondruš
89bf91c487
Use full template name when accessing parent class.
14 years ago
Vladimír Vondruš
9459d4c6a1
Using isVersionSupported() instead of plain comparison.
...
It is more descriptive and easier to fix/modify when it is in one place.
14 years ago
Vladimír Vondruš
97152f4430
GCC 4.5 compatibility: fugly fix for missing move constructor in pair.
...
My first use of const_cast ever!
14 years ago
Vladimír Vondruš
02158cd0f9
GCC 4.5 compatibility: fixed initializer-list issues.
14 years ago
Vladimír Vondruš
5d8444ace1
GCC 4.5 compatibility: no range-based for.
14 years ago
Vladimír Vondruš
00d4285cc4
GCC 4.5 compatibility: missing includes.
14 years ago
Vladimír Vondruš
bf9e800be0
Merge branch 'master' into compatibility
14 years ago
Vladimír Vondruš
cd6113a29d
Merge branch 'master' into compatibility
...
Builds and passes tests at least with GCC 4.6 and 4.7.
Conflicts:
src/CMakeLists.txt
src/Math/Matrix4.h
src/Math/Test/CMakeLists.txt
src/Mesh.cpp
src/MeshTools/CompressIndices.h
src/MeshTools/Tipsify.cpp
src/Physics/Test/ShapeGroupTest.cpp
src/Primitives/Icosphere.h
src/SceneGraph/Camera.cpp
src/Test/SwizzleTest.cpp
src/Trade/MeshData3D.cpp
src/magnumCompatibility.h
14 years ago
Vladimír Vondruš
e4a6832eab
Accidentaly forgot commented-out code.
14 years ago
Vladimír Vondruš
6dc27374a4
Assert when creating Shader with unsupported version.
14 years ago
Vladimír Vondruš
b9fbbb117b
Don't use constexpr here.
...
* The class has std::vector in it.
* The class has virtual destructor.
14 years ago
Vladimír Vondruš
350fb3a64c
Fixed documentation of Vector::angle().
14 years ago
Vladimír Vondruš
2dd0a68329
Internal "traits" cleanup.
...
Don't use constexpr class members, as their usage is not so convenient
compared to classic inline functions.
14 years ago
Vladimír Vondruš
02267d1439
Doxygen configuration.
...
* Don't extract local classes.
* Don't include header code in documentation (the only purpose would be
to scare users off).
* Include template implementation files in documentation.
14 years ago
Vladimír Vondruš
1437043c62
Fixed compiler warning.
14 years ago
Vladimír Vondruš
a021e4e209
Using CORRADE_INTERNAL_ASSERT() for, ahem, internal issues.
14 years ago
Vladimír Vondruš
b2f42f234e
Documentation fixes and updates.
14 years ago
Vladimír Vondruš
ba86c3d2f8
Avoid crash when glGetString(GL_EXTENSIONS) returns nullptr.
14 years ago
Vladimír Vondruš
6f6d3d09b2
Blind port of FlatShader to OpenGL 2.1 and OpenGL ES 2.0.
14 years ago
Vladimír Vondruš
084294e60b
Blind port of PhongShader to OpenGL ES 2.0.
14 years ago
Vladimír Vondruš
c72390d139
EglContextHandler: better error handling.
14 years ago
Vladimír Vondruš
ca061091f9
Using nullptr instead of 0.
14 years ago
Vladimír Vondruš
a3c908f5fa
Don't show Query for ES 2.0 target.
...
It isn't (and won't be) supported there, so why not hide it.
14 years ago
Vladimír Vondruš
1c67fc3c66
Fixed unintialized variable.
...
Accidentaly found when running unit tests on GLES build.
14 years ago
Vladimír Vondruš
81ae500fd8
Fixed typo.
14 years ago
Vladimír Vondruš
0cb857b66f
@todo++
14 years ago
Vladimír Vondruš
818fdefbd6
Added convenience function Context::supportedVersion().
14 years ago
Vladimír Vondruš
ef3a28e5d4
Added missing value to Framebuffer::DefaultReadAttachment.
14 years ago
Vladimír Vondruš
264a2e768f
Don't compile/install desktop-only features if targeting OpenGL ES.
14 years ago