Import Geant4 10.7.1 source tree
This commit is contained in:
@@ -268,7 +268,7 @@ G4ScaledSolid::DistanceToOut( const G4ThreeVector& p,
|
||||
{
|
||||
G4ThreeVector normal;
|
||||
fScale->TransformNormal(solNorm, normal);
|
||||
*n = normal/normal.mag();
|
||||
*n = normal.unit();
|
||||
}
|
||||
|
||||
// Return distance converted to global
|
||||
|
||||
Reference in New Issue
Block a user