XDracam / unity-corelibrary

Collection of classes and extension methods that make life with Unity3D more comfortable
MIT License
15 stars 3 forks source link

`Vector3.Map` and similar #59

Open XDracam opened 4 years ago

XDracam commented 4 years ago

We want a .Map for all vectors, colors and maybe rects which takes a Func<float, float> and applies it to all values, returning a new value

Eregerog commented 4 years ago

.WithRGB() for colors is not really needed, since you can multiply by a scalar