EgtGeomKernel 1.5l2 :

- correzione a offset a sinistra con chamfer e extend
- correzione a offset semplice con angoli di 180 deg
- modifica a calcolo colore back per superfici.
This commit is contained in:
Dario Sassi
2014-12-30 17:32:23 +00:00
parent 3e8e7e2e2a
commit bea7644551
5 changed files with 16 additions and 16 deletions
+3 -3
View File
@@ -90,8 +90,8 @@ Color
GetSurfBackColor( Color cCol)
{
float fLum = ( cCol.GetRed() + cCol.GetGreen() + cCol.GetBlue()) / 3 ;
return Color( 0.4 * fLum + 0.2 * cCol.GetRed(),
0.4 * fLum + 0.2 * cCol.GetGreen(),
0.4 * fLum + 0.2 * cCol.GetBlue(),
return Color( 0.4 * fLum + 0.4 * cCol.GetRed(),
0.4 * fLum + 0.4 * cCol.GetGreen(),
0.4 * fLum + 0.4 * cCol.GetBlue(),
cCol.GetAlpha()) ;
}