diff options
Diffstat (limited to 'src/libs/ray/ray_object_plane.h')
-rw-r--r-- | src/libs/ray/ray_object_plane.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/libs/ray/ray_object_plane.h b/src/libs/ray/ray_object_plane.h new file mode 100644 index 0000000..96ed437 --- /dev/null +++ b/src/libs/ray/ray_object_plane.h @@ -0,0 +1,16 @@ +#ifndef _RAY_OBJECT_PLANE_H +#define _RAY_OBJECT_PLANE_H + +#include "ray_3f.h" +#include "ray_object_type.h" +#include "ray_surface.h" + + +typedef struct ray_object_plane_t { + ray_object_type_t type; + ray_surface_t surface; + ray_3f_t normal; + float distance; +} ray_object_plane_t; + +#endif |