Vladimír Vondruš
daf0742c50
doc: use explicit references everywhere.
12 years ago
Vladimír Vondruš
6f0ba96cb6
Happy new year too.
12 years ago
Vladimír Vondruš
1c10a5f595
More documentation crosslinking and fixes.
13 years ago
Vladimír Vondruš
141a3df456
Reducing pointer chasings, part 3e: less pointer passing in DebugTools.
...
In most cases just adapted to changes in root namespace and SceneGraph.
ForceRenderer now takes const reference to force vector and additionally
disallows passing rvalue to it.
13 years ago
Vladimír Vondruš
d04b308aa3
Reducing pointer chasings, part 1: method chaining via references.
...
Makes some cases less consistent (and some convenience shortcuts
impossible), but goes well with the attitude "don't use pointer when it
can't be null".
13 years ago
Vladimír Vondruš
82ca09a4ed
Minor documentation fixes.
...
It's not needed to have empty `()` after class name in this type
of expressions:
(new Object())
->setFoo(a)
->setBar(b);
13 years ago
Vladimír Vondruš
a0b83edd2b
Relicensing to MIT/Expat license, part 4: CMake and documentation files.
...
They didn't contain license header before, but I think adding it also
there wouldn't do any harm. Documentation is also integral part of the
codebase.
13 years ago
Vladimír Vondruš
fecb5eec29
DebugTools: simplified renderers example code.
...
ResourceManager::set() can autodetect the type passed and it now has
also more convenient overload.
13 years ago
Vladimír Vondruš
b8ae50267f
DebugTools: ObjectRenderer class.
...
Visualizes object position, rotation and size. Common usage as with
ShapeRenderer, common documentation extended and moved to new
`debug-tools` page.
14 years ago