Ticket #36919: patch-grid3dbase.C.diff
File patch-grid3dbase.C.diff, 527 bytes (added by lpsinger (Leo Singer), 12 years ago) |
---|
-
saotk/util/grid3dbase.C
old new 24 24 25 25 int Grid3dBase::gLine(int n, float* x, float* y, float* z) 26 26 { 27 Vector3d vv[n];28 27 float xx[n]; 29 28 float yy[n]; 30 29 31 30 for (int ii=0; ii<n; ii++) { 32 vv[ii]= Vector3d(x[ii],y[ii],z[ii])*mx_;33 xx[ii] = vv[ ii][0];34 yy[ii] = vv[ ii][1];31 Vector3d vv = Vector3d(x[ii],y[ii],z[ii])*mx_; 32 xx[ii] = vv[0]; 33 yy[ii] = vv[1]; 35 34 } 36 35 37 36 switch (renderMode_) {