fx: incorrect log statement
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
"camera": {
|
||||
"image_width": 1920,
|
||||
"image_height": 1080,
|
||||
"anti_alias_rate": 1,
|
||||
"anti_alias_rate": 23,
|
||||
"max_depth": 50,
|
||||
"fov": 90.0,
|
||||
"look_from": [0, 4, 15],
|
||||
"look_from": [15, 4, 15],
|
||||
"look_at": [0.0, 0.0, 0.0],
|
||||
"vup": [0.0, 1.0, 0.0],
|
||||
"defocus_angle": 0,
|
||||
|
||||
@@ -19,7 +19,6 @@ pub struct Quad {
|
||||
|
||||
impl Quad {
|
||||
pub fn new(p1: Vec3, p2: Vec3, p3: Vec3, p4: Vec3, material: Arc<dyn Material>) -> Self {
|
||||
warn!("quad normal {}", (p2 - p1).cross(&(p4 - p1)).get_unit());
|
||||
Self {
|
||||
p1,
|
||||
p2,
|
||||
|
||||
Reference in New Issue
Block a user