diff options
author | Keuin <[email protected]> | 2022-04-16 19:12:47 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-04-16 19:12:47 +0800 |
commit | 9992f29a6222e1822f23329b2f49eef62dd949fe (patch) | |
tree | e0c48753348ef7bff5f58ceafa795c312d2701b6 /material_reflective.cpp | |
parent | 60d8221109304bc4f207dda8a42623cae488af5d (diff) |
Make logging tense consistent.
Diffstat (limited to 'material_reflective.cpp')
-rw-r--r-- | material_reflective.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/material_reflective.cpp b/material_reflective.cpp index 6cffcf3..b1a2432 100644 --- a/material_reflective.cpp +++ b/material_reflective.cpp @@ -19,10 +19,10 @@ bool material_reflective_<false>::scatter(ray3d &r, const object &hit_obj, doubl const auto alive = dot(reflected, nv) > 0; #ifdef LOG_TRACE if (!alive) { - TRACELOG(" absorbed (perfectly smooth material) (reflected: [%-10f,%-10f,%-10f], nv: [%-10f,%-10f,%-10f])\n", + TRACELOG(" absorb (perfectly smooth material) (reflected: [%-10f,%-10f,%-10f], nv: [%-10f,%-10f,%-10f])\n", reflected.x, reflected.y, reflected.z, nv.x, nv.y, nv.z); } else { - TRACELOG(" reflected (perfectly smooth material)\n"); + TRACELOG(" reflect (perfectly smooth material)\n"); } #endif return alive; @@ -40,10 +40,10 @@ bool material_reflective_<true>::scatter(ray3d &r, const object &hit_obj, double const auto alive = dot(reflected, nv) > 0; #ifdef LOG_TRACE if (!alive) { - TRACELOG(" absorbed (fuzzy reflective material) (reflected: [%-10f,%-10f,%-10f], nv: [%-10f,%-10f,%-10f])\n", + TRACELOG(" absorb (fuzzy reflective material) (reflected: [%-10f,%-10f,%-10f], nv: [%-10f,%-10f,%-10f])\n", reflected.x, reflected.y, reflected.z, nv.x, nv.y, nv.z); } else { - TRACELOG(" reflected (fuzzy reflective material)\n"); + TRACELOG(" reflect (fuzzy reflective material)\n"); } #endif return alive; |