[Igarden-commit] Garden/source/LayoutDB PlanGroup.cp, 1.34, 1.34.2.1
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2006-11-02 23:41:28
|
Update of /cvsroot/igarden/Garden/source/LayoutDB In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv26590 Modified Files: Tag: Release_branch_v1 PlanGroup.cp Log Message: Add z-axis Index: PlanGroup.cp =================================================================== RCS file: /cvsroot/igarden/Garden/source/LayoutDB/PlanGroup.cp,v retrieving revision 1.34 retrieving revision 1.34.2.1 diff -C2 -d -r1.34 -r1.34.2.1 *** PlanGroup.cp 24 Jun 2006 15:37:32 -0000 1.34 --- PlanGroup.cp 2 Nov 2006 23:41:26 -0000 1.34.2.1 *************** *** 467,470 **** --- 467,471 ---- break; } + result.zOffset = ElevationAtPosition(result.xOffset, result.yOffset); return result; *************** *** 773,777 **** { pt = GetIndexedPathPoint(n); ! planView->AddTessPoint(pt.xOffset, pt.yOffset, kBackGroundZ); } planView->EndTessContour(); --- 774,778 ---- { pt = GetIndexedPathPoint(n); ! planView->AddTessPoint(pt.xOffset, pt.yOffset, pt.zOffset); } planView->EndTessContour(); *************** *** 1282,1285 **** --- 1283,1287 ---- _pathPointCache[n].xOffset += offset.xOffset; _pathPointCache[n].yOffset += offset.yOffset; + _pathPointCache[n].zOffset += offset.zOffset; } |