From 2c8ffb13ea3e40e4d5bb8dcc579e5032843bd737 Mon Sep 17 00:00:00 2001 From: DarioS Date: Fri, 26 Aug 2022 14:37:16 +0200 Subject: [PATCH] Include : - aggiunto valore opzionale 0.5 a Media di Vector3d. --- EGkVector3d.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EGkVector3d.h b/EGkVector3d.h index 4dff636..048c264 100644 --- a/EGkVector3d.h +++ b/EGkVector3d.h @@ -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,