mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix darkroom whitted_style
fix cbind
This commit is contained in:
parent
744146ae38
commit
6b1efc8a15
8 changed files with 128 additions and 22 deletions
|
@ -90,7 +90,7 @@ namespace sprout {
|
|||
return sprout::darkroom::materials::bilinear_interpolate(
|
||||
get_color(x0, y0), get_color(x0 + 1, y0),
|
||||
get_color(x0, y0 + 1), get_color(x0 + 1, y0 + 1),
|
||||
1 - (x - x0), 1 - (y - y0)
|
||||
x - x0, y - y0
|
||||
);
|
||||
}
|
||||
template<typename Unit>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue