Changeset 2092 in Sophya for trunk/SophyaPI/PIext/pistlist.cc


Ignore:
Timestamp:
Jul 14, 2002, 7:03:43 PM (23 years ago)
Author:
cmv
Message:

intro PERC_GARDE pour localiser les pb cmv 14/7/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pistlist.cc

    r1920 r2092  
    44#include <stdio.h>
    55#include "pistlist.h"
     6
     7#define PERC_GARDE 0.02
    68
    79//++
     
    8688  mStL->CalcXYLimits(x1, x2, y1, y2);
    8789 
    88   dx = 0.02*(x2-x1);
    89   dy = 0.02*(y2-y1);
     90  dx = PERC_GARDE*(x2-x1);
     91  dy = PERC_GARDE*(y2-y1);
    9092 
    9193  SetLimits(x1-dx, x2+dx, y1-dy, y2+dy);
Note: See TracChangeset for help on using the changeset viewer.