Extrinsics.tra is now private, using Tra()

This commit is contained in:
Federico Ponchio 2008-10-24 16:37:24 +00:00
parent 57fe4376a2
commit fe59b6ad4d
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ static ScalarType GetFarPlane(vcg::Shot<ScalarType> & shot, vcg::Box3<ScalarType
ScalarType farDist;
vcg::Point3<ScalarType> farcorner;
vcg::Point3<ScalarType> campos = shot.Extrinsics.tra;
vcg::Point3<ScalarType> campos = shot.Extrinsics.Tra();
if (abs(campos.X() - bbox.max.X()) > abs(campos.X() - bbox.min.X()))
farcorner.X() = bbox.max.X();