Skip to content

Commit

Permalink
[Color] Add Fun.Lerp overloads with vector parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
hyazinthh committed Jul 10, 2024
1 parent a01b98f commit 831010f
Show file tree
Hide file tree
Showing 3 changed files with 229 additions and 77 deletions.
2 changes: 2 additions & 0 deletions src/Aardvark.Base.FSharp/Math/Math.fs
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,8 @@ module FSharpMath =
let a : V2i = lerp V2i.Zero V2i.One 0.5f
let a : V4i = lerp V4i.Zero V4i.One V4f.Half
let a : C4b = lerp C4b.Black C4b.Black 0.5f
let a : C4b = lerp C4b.Black C4b.Black V4f.Half
let a : C4b = lerp C4b.Black C4b.Black V4d.Half
()

let invLerpWorking() =
Expand Down
Loading

0 comments on commit 831010f

Please sign in to comment.