summaryrefslogtreecommitdiff
path: root/vec.h
AgeCommit message (Collapse)Author
2022-05-03Bugfix: range01_scalar does not obey to its contract.Keuin
2022-04-22Delete vec3::refract. (buggy)Keuin
2022-04-21Bugfix: vec3::refract assertion fails in complex scenarios. Use looser ↵Keuin
accuracy requirement.
2022-04-20Add vec3::parallel and its test.Keuin
2022-04-20Bugfix: vec3::cross was implemented and tested incorrectly.Keuin
2022-04-16Move trace logging to tracelog.h.Keuin
Pixel-wise, comprehensive, beautiful trace logging.
2022-04-16Add vec3::range01_scalar.Keuin
2022-04-16Add vec3::refract<Enable_TIR>, vec3::valid, float-point validity assertion ↵Keuin
in vec3 operations, and tests.
2022-04-15Add missing header.Keuin
2022-04-15Make ray3::decay_ distinguishable between different color channels.Keuin
2022-04-15Fix vec3::reflect. Add tests for vec3::reflect and vec3::is_zero.Keuin
2022-04-15Fix bad inclusion cause code not compiling.Keuin
2022-04-15Add vec3::is_zero and vec3::reflect. (not tested)Keuin
2022-04-14Implement Lambertian Reflection and Hemispherical Reflection.Keuin
2022-04-14Delete default constructor of random_uv_gen.Keuin
2022-04-13Global diffuse lighting. (gamma not corrected)Keuin
Some operations on pixel<T>. Make ray3 support copy semantic. Fix vec3 operands does not filter out vec3-vec3 as parameters. random_uv_gen generating random unit vectors.
2022-04-12Add vec3::mod2.Keuin
2022-04-12Inline util methods.Keuin
2022-04-11Implement vec3::zero().Keuin
2022-04-11Fix vec.h multiple inclusion.Keuin
2022-04-11Implement vec3 scalar and vector product, product by a scalar, get unit ↵Keuin
vector and print to ostream. Fix wrong vec3 norm implementation.
2022-04-11Test vec3 minus and cross product. Fix missing const qualifier in overloaded ↵Keuin
operators.
2022-04-11Add specialized eq for vec3l equality.Keuin
2022-04-11Basic 3d vector operations. Testing with GoogleTest.Keuin