hx3d
1
2D/3D Simple Game Framework
Main Page
Namespaces
Classes
Files
File List
engine
include
hx3d
graphics
particle_batch.hpp
1
// #ifndef HX3D_GRAPHICS_PARTICLE_BATCH
2
// #define HX3D_GRAPHICS_PARTICLE_BATCH
3
//
4
// #include "hx3d/graphics/geometries/geometry.hpp"
5
//
6
// namespace hx3d {
7
// namespace graphics {
8
//
9
// namespace geom {
10
//
11
// class ParticleGeometry: public BaseGeometry {
12
// public:
13
//
14
// ParticleGeometry():
15
// BaseGeometry()
16
// {
17
// addAttribute("New", Attribute("a_new", GL_FLOAT, 2));
18
//
19
// setAttribute("Position", std::vector<float> {
20
// -0.5f, -0.5f, 0.f,
21
// 0.5f, -0.5f, 0.f,
22
// -0.5f, 0.5f, 0.f,
23
// 0.5f, 0.5f, 0.f
24
// });
25
//
26
// }
27
//
28
// virtual void draw(Ptr<Shader> shader) override {
29
//
30
// }
31
// };
32
//
33
// } /* geom */
34
//
35
// class ParticleBatch {
36
// private:
37
//
38
// public:
39
// ParticleBatch(const unsigned int maxParticles) {}
40
// };
41
//
42
// } /* graphics */
43
// } /* hx3d */
44
//
45
// #endif /* HX3D_GRAPHICS_PARTICLE_BATCH */
Generated by
1.8.11