Midway hittable list inclusion
This commit is contained in:
parent
3aea707982
commit
8c1324c074
6 changed files with 141 additions and 2 deletions
2
vec3.hpp
2
vec3.hpp
|
|
@ -21,7 +21,7 @@ struct vec3 {
|
|||
/* Overriden operators */
|
||||
|
||||
// - operator. Not to be confused with substraction
|
||||
vec3 operator-()
|
||||
vec3 operator-() const
|
||||
{
|
||||
return vec3(-x, -y, -z);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue