Ignore:
Timestamp:
Mar 7, 2009, 2:46:49 PM (16 years ago)
Author:
vrinside
Message:

modified lic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/NvParticleAdvectionShader.h

    r850 r1299  
    3535}
    3636
    37 inline void NvParticleAdvectionShader::bind(unsigned int texID)
    38 {
    39     cgGLBindProgram(_cgFP);
    40 
    41     cgGLSetParameter1f(_posTimestepParam, _timeStep);
    42     cgGLSetParameter1f(_maxParam, _max);
    43     cgGLSetParameter3f(_scaleParam, _scale.x, _scale.y, _scale.z);
    44     cgGLSetTextureParameter(_velTexParam, _velocityVolumeID);
    45     cgGLEnableTextureParameter(_velTexParam);
    46     cgGLSetTextureParameter(_posTexParam, texID);
    47     cgGLEnableTextureParameter(_posTexParam);
    48 
    49     cgGLEnableProfile(CG_PROFILE_FP30);
    50 }
    51 
    5237inline void NvParticleAdvectionShader::unbind()
    5338{
Note: See TracChangeset for help on using the changeset viewer.