raytracer
Parallel Ray Tracer written from scratch (no graphics API).
Loading...
Searching...
No Matches
point.h
Go to the documentation of this file.
1#pragma once
2#include <nlohmann/json.hpp>
3
4namespace raytracer::common
5{
6struct Point
7{
8 double x;
9 double y;
10};
11
13} // namespace raytracer::common
Definition raytracer.cpp:24
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(Point, x, y)
Definition point.h:7
double y
Definition point.h:9
double x
Definition point.h:8