diff options
Diffstat (limited to 'include/vec3.hpp')
| -rw-r--r-- | include/vec3.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/vec3.hpp b/include/vec3.hpp index 673bd83..e3be2a4 100644 --- a/include/vec3.hpp +++ b/include/vec3.hpp @@ -1,7 +1,6 @@ #ifndef __VEC3_HPP_ #define __VEC3_HPP_ -#include <ostream> #include <xmmintrin.h> class vec3 { @@ -43,6 +42,8 @@ class vec3 { bool near_zero() const; + void print() const; + static vec3 random(); static vec3 random(float min, float max); @@ -68,8 +69,6 @@ vec3 reflect(const vec3& v, const vec3& n); vec3 refract(const vec3& uv, const vec3& n, float etai_over_etat); -std::ostream& operator<<(std::ostream& out, vec3 vec); - using point3 = vec3; using color = vec3; |
