summaryrefslogtreecommitdiff
path: root/vec.h
AgeCommit message (Collapse)Author
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