Merge commit '2c8ffb13ea3e40e4d5bb8dcc579e5032843bd737' into ThreeJS

This commit is contained in:
riccardo.elitropi
2022-08-26 14:38:08 +02:00
+1 -1
View File
@@ -274,7 +274,7 @@ CrossXY( const Vector3d& vtV1, const Vector3d& vtV2)
//! Somma mediata di due vettori (baricentrica)
//----------------------------------------------------------------------------
inline Vector3d
Media( const Vector3d& vtV1, const Vector3d& vtV2, double dCoeff)
Media( const Vector3d& vtV1, const Vector3d& vtV2, double dCoeff = 0.5)
{
return ( Vector3d( ( 1 - dCoeff) * vtV1.x + dCoeff * vtV2.x,
( 1 - dCoeff) * vtV1.y + dCoeff * vtV2.y,