Ignore:
Timestamp:
Apr 2, 2013, 11:31:43 PM (7 years ago)
Author:
ldelgass
Message:

Remove Nv prefix from shader classes now that they are in nv namespace.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/RegularVolumeShader.cpp

    r3611 r3612  
    44 *
    55 */
    6 #include "NvRegularVolumeShader.h"
     6#include "RegularVolumeShader.h"
    77
    88using namespace nv;
    99
    10 NvRegularVolumeShader::NvRegularVolumeShader()
     10RegularVolumeShader::RegularVolumeShader()
    1111{
    1212    init();
    1313}
    1414
    15 NvRegularVolumeShader::~NvRegularVolumeShader()
     15RegularVolumeShader::~RegularVolumeShader()
    1616{
    1717}
    1818
    19 void NvRegularVolumeShader::init()
     19void RegularVolumeShader::init()
    2020{
    2121    loadFragmentProgram("one_volume.cg", "main");
    2222}
    2323
    24 void NvRegularVolumeShader::bind(unsigned int tfID, Volume *volume,
     24void RegularVolumeShader::bind(unsigned int tfID, Volume *volume,
    2525                                 int sliceMode, float sampleRatio)
    2626{
     
    4646                     (volume->twoSidedLighting() ? 1.0f : 0.0f));
    4747
    48     NvShader:: bind();
     48    Shader:: bind();
    4949}
    5050
    51 void NvRegularVolumeShader::unbind()
     51void RegularVolumeShader::unbind()
    5252{
    5353    disableFPTextureParameter("volume");
    5454    disableFPTextureParameter("tf");
    5555
    56     NvShader::unbind();
     56    Shader::unbind();
    5757}
Note: See TracChangeset for help on using the changeset viewer.