From 5da0c1018236a1d6905b5b061a0c8c42c28bd4f6 Mon Sep 17 00:00:00 2001 From: Godzil Date: Tue, 10 Mar 2020 09:18:15 +0000 Subject: [PATCH] Started working on "world optimiser" base class. The idea is to reorganise objets to take use of the them to prevent most object to be intersect if they are not likely to be on the ray path. --- source/include/worldoptimiser.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 source/include/worldoptimiser.h diff --git a/source/include/worldoptimiser.h b/source/include/worldoptimiser.h new file mode 100644 index 0000000..be5d833 --- /dev/null +++ b/source/include/worldoptimiser.h @@ -0,0 +1,20 @@ +/* + * DoRayMe - a quick and dirty Raytracer + * World optimiser header + * + * Created by Manoƫl Trapier + * Copyright (c) 2020 986-Studio. + * + */ +#ifndef DORAYME_WORLDOPTIMISER_H +#define DORAYME_WORLDOPTIMISER_H + +/* World Optimiser subclasses will created move objcet around to try to optimise the parsing of the world. + * This class is abstract to we can implement different type and change at runtime or build time + */ +class WorldOptimiser +{ + +}; + +#endif /* DORAYME_WORLDOPTIMISER_H */