Ignore:
Timestamp:
Dec 22, 2010, 11:33:38 AM (15 years ago)
Author:
garnier
Message:

before tag

Location:
trunk/source/visualization/externals/gl2ps/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/externals/gl2ps/src/CVS/Entries

    r1340 r1346  
    1 /G4OpenGL2PSAction.cc/1.6/Wed Nov  3 16:40:34 2010//
    2 /gl2ps.cc/1.9/Wed Nov  3 15:22:18 2010//
     1/G4OpenGL2PSAction.cc/1.6/Wed Nov  3 16:40:34 2010//Tgeant4-09-04-ref-00
     2/gl2ps.cc/1.13/Wed Dec 22 10:23:43 2010//Tgeant4-09-04-ref-00
    33D
  • trunk/source/visualization/externals/gl2ps/src/CVS/Tag

    r1331 r1346  
    1 Ngeant4-09-04-beta-01
     1Ngeant4-09-04-ref-00
  • trunk/source/visualization/externals/gl2ps/src/G4OpenGL2PSAction.cc

    r1340 r1346  
    2626//
    2727// $Id: G4OpenGL2PSAction.cc,v 1.6 2010/11/03 16:40:34 lgarnier Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: visexternal-V09-03-01 $
    2929//
    3030//
  • trunk/source/visualization/externals/gl2ps/src/gl2ps.cc

    r1340 r1346  
    7070#include "Geant4_gl2ps.h"
    7171
    72 #include <math.h>
     72#include <cmath>
    7373#include <string.h>
    7474#include <sys/types.h>
    7575#include <stdarg.h>
    7676#include <time.h>
    77 #include <float.h>
     77#include <cfloat>
    7878
    7979#define GL2PS_HAVE_ZLIB
     
    9797#define GL2PS_ZOFFSET       5.0e-2F
    9898#define GL2PS_ZOFFSET_LARGE 20.0F
    99 #define GL2PS_ZERO(arg)     (fabs(arg) < 1.e-20)
     99#define GL2PS_ZERO(arg)     (std::fabs(arg) < 1.e-20)
    100100
    101101/* Primitive types */
     
    725725 
    726726  for(i = 1; i < n; i++){
    727     if(fabs(rgba[0][0] - rgba[i][0]) > threshold[0] ||
    728        fabs(rgba[0][1] - rgba[i][1]) > threshold[1] ||
    729        fabs(rgba[0][2] - rgba[i][2]) > threshold[2])
     727    if(std::fabs(rgba[0][0] - rgba[i][0]) > threshold[0] ||
     728       std::fabs(rgba[0][1] - rgba[i][1]) > threshold[1] ||
     729       std::fabs(rgba[0][2] - rgba[i][2]) > threshold[2])
    730730      return GL_FALSE;
    731731  }
     
    33323332}
    33333333
    3334 static void gl2psPrintTeXBeginViewport(GLint viewport[4])
     3334static void gl2psPrintTeXBeginViewport(GLint[4])
    33353335{
    33363336  glRenderMode(GL_FEEDBACK);
     
    50325032}
    50335033
     5034#if defined(GL2PS_HAVE_LIBPNG)
    50345035static void gl2psPrintSVGPixmap(GLfloat x, GLfloat y, GL2PSimage *pixmap)
     5036#else
     5037static void gl2psPrintSVGPixmap(GLfloat, GLfloat, GL2PSimage*)
     5038#endif
    50355039{
    50365040#if defined(GL2PS_HAVE_LIBPNG)
Note: See TracChangeset for help on using the changeset viewer.