Inheritance diagram for GeoTraitRectangle:

Public Types | |
| typedef UInt8 | dataType |
Static Public Member Functions | |
| static void | init (Particles *, DrawActionBase *, dataType &) |
| static void | exit (Particles *, DrawActionBase *, dataType &) |
| static bool | particle (dataType &, UInt32) |
| static void | draw (dataType &, Pnt3f &p, Pnt3f &sp, Vec3f &dx, Vec3f &dy, Vec3f &, Vec3f &s) |
Definition at line 1878 of file OSGParticles.cpp.
|
|
Definition at line 1880 of file OSGParticles.cpp. |
|
||||||||||||||||
|
Definition at line 1882 of file OSGParticles.cpp.
|
|
||||||||||||||||
|
Definition at line 1887 of file OSGParticles.cpp.
|
|
||||||||||||
|
Definition at line 1892 of file OSGParticles.cpp.
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 1897 of file OSGParticles.cpp. References osg::PointInterface< ValueTypeT, StorageInterfaceT >::getValues(). 01900 { 01901 dx *= s[0] * .5f; 01902 01903 glNormal3fv((GLfloat*) dy.getValues() ); 01904 01905 glVertex3f( p[0] - dx[0], 01906 p[1] - dx[1], 01907 p[2] - dx[2]); 01908 01909 glVertex3f( p[0] + dx[0], 01910 p[1] + dx[1], 01911 p[2] + dx[2]); 01912 01913 glVertex3f(sp[0] + dx[0], 01914 sp[1] + dx[1], 01915 sp[2] + dx[2]); 01916 01917 glVertex3f(sp[0] - dx[0], 01918 sp[1] - dx[1], 01919 sp[2] - dx[2]); 01920 }
|
1.4.3