Ignore:
Timestamp:
Dec 8, 2010, 2:03:02 PM (14 years ago)
Author:
gah
Message:

Clean up debugging/printing traces

File:
1 edited

Legend:

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

    r1515 r1984  
    153153NvLIC::make_patterns()
    154154{
    155     Trace("begin make_patterns\n");
     155    TRACE("begin make_patterns\n");
    156156    if (disListID > 0) {
    157157        glDeleteLists(disListID, Npat);
     
    159159    disListID = glGenLists(Npat);
    160160   
    161     Trace("DisplayList : %d\n", disListID);
     161    TRACE("DisplayList : %d\n", disListID);
    162162   
    163163    int lut[256];
     
    193193    glTexImage2D(GL_TEXTURE_2D, 0, 4, NPN, NPN, 0,
    194194                 GL_RGBA, GL_UNSIGNED_BYTE, pat);
    195     Trace("finish make_patterns\n");
     195    TRACE("finish make_patterns\n");
    196196}
    197197
     
    470470/*
    471471{
    472     //Trace("RENDER LIC\n");
     472    //TRACE("RENDER LIC\n");
    473473   //glBindTexture(GL_TEXTURE_2D, pattern_tex);
    474474   glCallList(1 % Npat + disListID);
     
    505505                      float scaleX, float scaleY, float scaleZ, float max)
    506506{
    507     Trace("NvLIC: vector field is assigned [%d]\n", texID);
     507    TRACE("NvLIC: vector field is assigned [%d]\n", texID);
    508508    _vectorFieldId = texID;
    509509    origin = ori;
     
    524524   int yi = (int) (y*size);
    525525
    526     //Trace("(xi yi) = (%d %d), ", xi, yi);
     526    //TRACE("(xi yi) = (%d %d), ", xi, yi);
    527527   vx = slice_vector[4 * (xi+yi*size)];
    528528   vy = slice_vector[4 * (xi+yi*size)+1];
    529529   r  = vx*vx + vy*vy;
    530530
    531     //Trace("(vx vx) = (%f %f), r=%f, ", vx, vy, r);
     531    //TRACE("(vx vx) = (%f %f), r=%f, ", vx, vy, r);
    532532   if (r > (dmax*dmax)) {
    533533      r  = sqrt(r);
     
    539539   *py = y + vy;
    540540
    541     //Trace("vel %f %f -> %f %f, (dmax = %f)\n", x, y, *px, *py, dmax);
     541    //TRACE("vel %f %f -> %f %f, (dmax = %f)\n", x, y, *px, *py, dmax);
    542542}
    543543
Note: See TracChangeset for help on using the changeset viewer.