Ignore:
Timestamp:
Mar 23, 2012 1:31:05 AM (12 years ago)
Author:
ldelgass
Message:

Some minor refactoring, also add some more fine grained config.h defines
(e.g. replace NV40 define with feature defines). Add tests for some required
OpenGL extensions (should always check for extensions or base version before
calling entry points from the extension). Also, clamp diffuse and specular
values on input and warn when they are out of range.

File:
1 edited

Legend:

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

    r2853 r2877  
    2424    void computeKeys(float fraction, int count, float *interp, int *key1, int *key2);
    2525
    26     bool is_started() const;
     26    bool isStarted() const;
    2727
    2828    double getInterval() const;
     
    4343    unsigned int _numBytes;
    4444    unsigned int _dataCount;
    45     unsigned int _n_components;
     45    unsigned int _numComponents;
    4646    unsigned int _referenceOfVolume;
    47     double _start_time;
     47    double _startTime;
    4848};
    4949
    50 inline bool VolumeInterpolator::is_started() const
     50inline bool VolumeInterpolator::isStarted() const
    5151{
    5252    return _started;
     
    5555inline double VolumeInterpolator::getStartTime() const
    5656{
    57     return _start_time;
     57    return _startTime;
    5858}
    5959
Note: See TracChangeset for help on using the changeset viewer.