Add "smooth streaks" to projected crosshairs.
This commit is contained in:
parent
941dd1a16d
commit
f2af4dd14d
6 changed files with 55 additions and 12 deletions
|
|
@ -229,6 +229,11 @@ Class SWWMUtility
|
|||
return (a<0)?(a+floor(a)):(a-floor(a));
|
||||
}
|
||||
|
||||
static clearscope double lerp( double a, double b, double theta )
|
||||
{
|
||||
return a*(1.-theta)+b*theta;
|
||||
}
|
||||
|
||||
static clearscope Color LerpColor( Color a, Color b, double theta )
|
||||
{
|
||||
Color c = Color(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue