Vladimír Vondruš
9418ff6e97
Removed unused AbstractPrimitive class.
...
Moved Primitives namespace documentation to doc/namespaces.dox.
14 years ago
Vladimír Vondruš
7dae98ded1
Primitives: using MeshData instead of AbstractPrimitive.
...
The classes now provide better access to the data. Also fixed
SubdivideCleanBenchmark from MeshTools.
14 years ago
Vladimír Vondruš
e43c1fae33
Strongly-typed Primitive enum in Mesh.
...
Also updated "default" constructor to include primitive type, as in many
cases only the primitive is specified and not the counts and types of
data.
14 years ago
Vladimír Vondruš
fb9b003e24
Buffer rework.
...
* Renamed Type enum to Target to be consistent with OpenGL naming
* Strongly typed enums
* Ability to specify different type when binding/setting data
* Added missing buffer targets
14 years ago
Vladimír Vondruš
49b126abc6
Don't try to develop our own OpenGL (naming).
14 years ago
Vladimír Vondruš
1f455e8b39
Fixed Primitives::Icosphere compilation.
...
Forgot to use new MeshTools functions for mesh cleaning.
15 years ago
Vladimír Vondruš
e0b4fca4fe
Doc++
...
Removed doc/namespaces.dox, moved namespace documentation to main files
of given namespace.
15 years ago
Vladimír Vondruš
c11e691053
Cleaning overengineered MeshBuilder.
...
* Removed VertexPointer typedef, as size_t is somewhere 64bit and
OpenGL doesn't have corresponding data type. Using unsigned int
everywhere instead, to avoid confusion.
* Removed Face structure altogether, using vertex indices directly.
* Greatly reduced size of unit tests, also thanks to C++11
std::initializer_list feature.
15 years ago
Vladimír Vondruš
2b3aab35f6
Making Icosahedron primitive data public, so it could be reused.
15 years ago
Vladimír Vondruš
b945f5f68b
Happy New Year.
15 years ago
Vladimír Vondruš
31c70f2c08
Doc++
15 years ago
Vladimír Vondruš
e9a16b1824
Added Icosphere primitive.
...
Templated on subdivision count, so it is for given subdivision computed
only once.
15 years ago
Vladimír Vondruš
6da26dc4bc
Added Cube primitive.
15 years ago
Vladimír Vondruš
8c7486a13d
Base class for primitives.
15 years ago