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.
21 lines
489 B
C++
21 lines
489 B
C++
/*
|
|
* 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 */
|