summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2022-02-18 23:01:23 -0500
committerXANTRONIX Development2022-02-18 23:01:23 -0500
commit0325c2f9b1be6dbc76b97f23be15e6475da5a5fd (patch)
treea0634ac616a1e68a3e2a5f25437d7429ac9adfb5
parent7197ed68a4faa0f7fd580cfe116e75b2419b6730 (diff)
downloadxas-0325c2f9b1be6dbc76b97f23be15e6475da5a5fd.tar.gz
xas-0325c2f9b1be6dbc76b97f23be15e6475da5a5fd.tar.bz2
xas-0325c2f9b1be6dbc76b97f23be15e6475da5a5fd.zip
Add xas_spatial_cone thingus
-rw-r--r--include/xas/spatial.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/xas/spatial.h b/include/xas/spatial.h
index ee2f659..581543c 100644
--- a/include/xas/spatial.h
+++ b/include/xas/spatial.h
@@ -28,6 +28,13 @@ typedef struct _xas_spatial_rotation {
};
} xas_spatial_rotation;
+typedef struct _xas_spatial_cone {
+ xas_spatial_coord coord;
+ xas_spatial_rotation rotation;
+
+ float angle;
+} xas_spatial_cone;
+
typedef struct _xas_spatial_observer {
xas_spatial_coord coord;
xas_spatial_rotation rotation;