VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvDiGuy
diguyOglParticleSystemRenderer.h
Go to the documentation of this file.
1
#pragma once
2
#include <diguyParticleSystem.h>
3
4
namespace
osg
5
{
6
class
Camera
;
7
}
8
9
namespace
makVrv
10
{
11
class
DtDe;
12
}
13
14
class
diguyOglParticleSystemRenderer
:
public
diguyParticleSystemRenderer
15
{
16
17
public
:
18
diguyOglParticleSystemRenderer
();
19
20
virtual
~diguyOglParticleSystemRenderer
();
21
22
virtual
void
setup_particle_rendering
(
int
render_pass_flags);
23
virtual
void
end_particle_rendering
(
int
render_pass_flags);
24
25
virtual
void
draw_particle_buffer
(
const
diguyParticleDrawDesc * draw_desc,
void
* data);
26
virtual
bool
has_custom_coordinate_conversion
(){
return
true
; }
27
28
virtual
void
convert_position_for_vbo_generation
(
double
* x,
double
* y,
double
* z);
29
30
static
diguyOglParticleSystemRenderer
*
sm_particle_sytem_renderer
;
31
32
unsigned
int
m_vertex_object
;
33
double
m_camera_pos
[3];
34
makVrv::DtDe
*
myDtDe
;
35
osg::Camera*
myCamera
;
36
37
};
38
43
diguyParticleSystemRenderer
*
diguyOglParticleSystemRenderer_create_func
(
void
);
44
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)