You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
299 B

4 years ago
  1. #pragma once
  2. #include "Vector3.h"
  3. class Material;
  4. class Object {
  5. public:
  6. Geometry *mGeometry;
  7. Material *mMaterial;
  8. Object(Geometry* g, Material* m);
  9. void Set(Geometry* g, Material* m);
  10. bool HitTest(const Ray& input_ray, float min_distance, float max_distance, HitPoint& hit_point);
  11. };