Ignore:
Timestamp:
Apr 9, 2012 10:18:09 AM (12 years ago)
Author:
ldelgass
Message:

Remove unused global origin, make default transfer function a bit more
sensible (used to have full opacity at 0). Fix HeightMap? dtor to use delete[]
instead of free() on array allocated with new[]. Document data response in
protocol.

File:
1 edited

Legend:

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

    r2932 r2953  
    11 /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
    2 #include <memory.h>
    3 #include <stdlib.h>
    4 #include <sys/time.h>
    5 #include <sys/types.h>
    6 #include <unistd.h>
    7 #include <fcntl.h>
    8 #include <stdlib.h>
    92
    103#include <GL/glew.h>
     
    158#include "ContourLineFilter.h"
    169#include "Texture1D.h"
    17 #include "R2/R2FilePath.h"
    18 #include "RpField1D.h"
    1910#include "RenderContext.h"
    2011
     
    5748    }
    5849    if (_heights != NULL) {
    59         free(_heights);
     50        delete [] _heights;
    6051    }
    6152}
Note: See TracChangeset for help on using the changeset viewer.