Add renderstat to get some info about rendering.
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
#ifndef DORAYME_PLANE_H
|
||||
#define DORAYME_PLANE_H
|
||||
|
||||
#include <renderstat.h>
|
||||
|
||||
class Plane : public Shape
|
||||
{
|
||||
private:
|
||||
@@ -16,7 +18,7 @@ private:
|
||||
Tuple localNormalAt(Tuple point);
|
||||
|
||||
public:
|
||||
Plane() : Shape(SHAPE_PLANE) { };
|
||||
Plane() : Shape(SHAPE_PLANE) { stats.addPlane(); };
|
||||
BoundingBox getBounds();
|
||||
bool haveFiniteBounds() { return false; };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user