Changeset 10669

Show
Ignore:
Timestamp:
10/22/09 11:08:42 (5 years ago)
Author:
robert
Message:

Updated wrappers

Location:
OpenSceneGraph/trunk/src/osgWrappers
Files:
2 added
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgWrappers/osgParticle/Particle.cpp

    r10375 r10669  
    1111#include <osgIntrospection/Attributes> 
    1212 
     13#include <osg/GLBeginEndAdapter> 
    1314#include <osg/Matrix> 
    1415#include <osg/Vec3> 
     
    276277                  "Update the particle (don't call this method manually). ", 
    277278                  "This method is called automatically by ParticleSystem::update(); it updates the graphical properties of the particle for the current time, checks whether the particle is still alive, and then updates its position by computing P = P + V * dt (where P is the position and V is the velocity). "); 
    278         I_Method0(void, beginRender, 
    279                   Properties::NON_VIRTUAL, 
    280                   __void__beginRender, 
     279        I_Method1(void, beginRender, IN, osg::GLBeginEndAdapter *, gl, 
     280                  Properties::NON_VIRTUAL, 
     281                  __void__beginRender__osg_GLBeginEndAdapter_P1, 
    281282                  "Perform some pre-rendering tasks. Called automatically by particle systems. ", 
    282283                  ""); 
    283         I_MethodWithDefaults4(void, render, IN, const osg::Vec3 &, xpos, , IN, const osg::Vec3 &, px, , IN, const osg::Vec3 &, py, , IN, float, scale, 1.0f, 
     284        I_MethodWithDefaults5(void, render, IN, osg::GLBeginEndAdapter *, gl, , IN, const osg::Vec3 &, xpos, , IN, const osg::Vec3 &, px, , IN, const osg::Vec3 &, py, , IN, float, scale, 1.0f, 
    284285                              Properties::NON_VIRTUAL, 
    285                               __void__render__C5_osg_Vec3_R1__C5_osg_Vec3_R1__C5_osg_Vec3_R1__float, 
     286                              __void__render__osg_GLBeginEndAdapter_P1__C5_osg_Vec3_R1__C5_osg_Vec3_R1__C5_osg_Vec3_R1__float, 
    286287                              "Render the particle. Called automatically by particle systems. ", 
    287288                              ""); 
    288         I_Method0(void, endRender, 
    289                   Properties::NON_VIRTUAL, 
    290                   __void__endRender, 
     289        I_Method1(void, endRender, IN, osg::GLBeginEndAdapter *, gl, 
     290                  Properties::NON_VIRTUAL, 
     291                  __void__endRender__osg_GLBeginEndAdapter_P1, 
    291292                  "Perform some post-rendering tasks. Called automatically by particle systems. ", 
    292293                  "");