Vladimír Vondruš
2eb4e3c8ba
Removed default template argument from DimensionTraits.
...
It's not obvious what should be the default and thus it is confusing.
Sometimes Int, sometimes Float, no clear winner.
13 years ago
Vladimír Vondruš
a0d60bbaa7
Getting rid of <>, part 2: SceneGraph cameras and drawables.
...
This allows to use those nice aliases even on GCC <= 4.6 without
resorting to verbose full name. Double and other types can be then
typedef'd as e.g. Camera3Dd or Camera3Di.
13 years ago
Vladimír Vondruš
6d8639cc76
Physics shape rework #7 : renamed Physics namespace to Shapes.
13 years ago
Vladimír Vondruš
c089fce239
Physics shape rework #5 : renaming.
...
ObjectShape* is now Shape*, ShapeGroup is now Composition.
13 years ago
Vladimír Vondruš
2cceafed3c
DebugTools: adapted ShapeRenderer to Physics changes.
...
Now using const reference to the shape instead of non-const one, also
removed some duplicated code and unneeded includes from the switch,
these operations are done in renderer implementations themselves.
13 years ago
Vladimír Vondruš
7ef8432fbe
Doxygen: ignore specific namespaces instead of whole directories.
...
Less maintenance burden with `#ifndef DOXYGEN_GENERATING_OUTPUT`,
removed the ones which are not needed anymore.
13 years ago
Vladimír Vondruš
45cbf1669f
DebugTools: 2D and 3D LineSegment support in ShapeRenderer.
13 years ago
Vladimír Vondruš
4f4e1230d7
DebugTools: added support for 2D spheres into ShapeRenderer.
13 years ago
Vladimír Vondruš
c5ab86794b
Relicensing to MIT/Expat license, part 3: source files.
...
Added license header also to shader sources. Hopefully it won't harm
compilation times too much.
13 years ago
Vladimír Vondruš
b5c1052c96
DebugTools: using new type aliases in whole DebugTools namespace.
13 years ago
Vladimír Vondruš
540c322f5b
DebugTools: support for Point shape in ShapeRenderer.
13 years ago
Vladimír Vondruš
12e539ff12
DebugTools: missing break in switch.
...
I don't know why this didn't crash or fail miserably before.
13 years ago
Vladimír Vondruš
7d830a17aa
DebugTools: simplified and optimized internal shape rendering.
...
All rendering code computed the transformation/projection matrix the
same way, resulting in redundant calculations. Also the
`transformationMatrix` parameter of internal draw() function was never
used.
13 years ago
Vladimír Vondruš
55477b98fe
DebugTools: don't use CORRADE_INTERNAL_ASSERT() for user-triggered error.
...
What was I thinking... Also updated the documentation to warn about it.
13 years ago
Vladimír Vondruš
64a0645724
DebugTools: ObjectShape must contain shape when creating renderer.
13 years ago
Vladimír Vondruš
196c68ccf1
DebugTools: added missing 3D alternatives.
...
They are implemented internally, but I somehow forgot to add them to the
switch.
13 years ago
Vladimír Vondruš
c0a3ce84a4
Moved Profiler and debug draw from Physics to new DebugTools library.
...
Also cleaned up the code and split renderer creation from resource
manager.
14 years ago