index
:
rt
master
My ray tracer. Written in C++11. Using nothing more than STL.
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
vec.h
Age
Commit message (
Collapse
)
Author
2022-04-15
Add missing header.
Keuin
2022-04-15
Make ray3::decay_ distinguishable between different color channels.
Keuin
2022-04-15
Fix vec3::reflect. Add tests for vec3::reflect and vec3::is_zero.
Keuin
2022-04-15
Fix bad inclusion cause code not compiling.
Keuin
2022-04-15
Add vec3::is_zero and vec3::reflect. (not tested)
Keuin
2022-04-14
Implement Lambertian Reflection and Hemispherical Reflection.
Keuin
2022-04-14
Delete default constructor of random_uv_gen.
Keuin
2022-04-13
Global 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-12
Add vec3::mod2.
Keuin
2022-04-12
Inline util methods.
Keuin
2022-04-11
Implement vec3::zero().
Keuin
2022-04-11
Fix vec.h multiple inclusion.
Keuin
2022-04-11
Implement vec3 scalar and vector product, product by a scalar, get unit ↵
Keuin
vector and print to ostream. Fix wrong vec3 norm implementation.
2022-04-11
Test vec3 minus and cross product. Fix missing const qualifier in overloaded ↵
Keuin
operators.
2022-04-11
Add specialized eq for vec3l equality.
Keuin
2022-04-11
Basic 3d vector operations. Testing with GoogleTest.
Keuin