summaryrefslogtreecommitdiff
path: root/src/libs/ray/ray_object_sphere.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/ray/ray_object_sphere.h')
-rw-r--r--src/libs/ray/ray_object_sphere.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/libs/ray/ray_object_sphere.h b/src/libs/ray/ray_object_sphere.h
new file mode 100644
index 0000000..71b6334
--- /dev/null
+++ b/src/libs/ray/ray_object_sphere.h
@@ -0,0 +1,16 @@
+#ifndef _RAY_OBJECT_SPHERE_H
+#define _RAY_OBJECT_SPHERE_H
+
+#include "ray_3f.h"
+#include "ray_object_type.h"
+#include "ray_surface.h"
+
+
+typedef struct ray_object_sphere_t {
+ ray_object_type_t type;
+ ray_surface_t surface;
+ ray_3f_t center;
+ float radius;
+} ray_object_sphere_t;
+
+#endif
© All Rights Reserved