mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
darkroom/objects/aa_plane.hpp 追加
darkroom/tracers/raytracer.hpp で、uv座標への変換で上下が反転していた問題を修正。
This commit is contained in:
parent
034bd6f7e4
commit
c86fa430c1
4 changed files with 214 additions and 2 deletions
|
@ -41,7 +41,7 @@ namespace sprout {
|
|||
lights,
|
||||
camera.template operator()(
|
||||
static_cast<typename Camera::unit_type>(x) / width - 0.5,
|
||||
static_cast<typename Camera::unit_type>(y) / height - 0.5
|
||||
-(static_cast<typename Camera::unit_type>(y) / height - 0.5)
|
||||
),
|
||||
depth_max
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue