summaryrefslogtreecommitdiffstats
path: root/include/xas
diff options
context:
space:
mode:
authorXANTRONIX Development2022-02-27 15:29:00 -0500
committerXANTRONIX Development2022-02-27 15:29:11 -0500
commita540a8d63aee39aaaa259d1db42e1af4e38f3d80 (patch)
tree1db2af9c6fdd745ef0522dc7020ddb18a06a5dd5 /include/xas
parentff6126d37d950b233a9d275f0fdba1c0de8d2466 (diff)
downloadxas-a540a8d63aee39aaaa259d1db42e1af4e38f3d80.tar.gz
xas-a540a8d63aee39aaaa259d1db42e1af4e38f3d80.tar.bz2
xas-a540a8d63aee39aaaa259d1db42e1af4e38f3d80.zip
Rename 'coord' to 'point' where applicable
Rename 'coord' to 'point' where applicable, to help disambiguate whether a coordinate is indeed a point or a rotation vector
Diffstat (limited to 'include/xas')
-rw-r--r--include/xas/spatial.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/xas/spatial.h b/include/xas/spatial.h
index db04ceb..df956a8 100644
--- a/include/xas/spatial.h
+++ b/include/xas/spatial.h
@@ -20,7 +20,7 @@ typedef struct _xas_spatial_cone {
} xas_spatial_cone;
typedef struct _xas_spatial_observer {
- xas_spatial_coord coord,
+ xas_spatial_coord point,
rotation;
float width;
@@ -38,7 +38,7 @@ struct _xas_spatial_object {
ssize_t shift_l,
shift_r;
- xas_spatial_coord coord;
+ xas_spatial_coord point;
xas_audio_stream *source;
xas_spatial_object *next;
};
@@ -72,7 +72,7 @@ xas_spatial_scene *xas_spatial_scene_new(xas_audio_format format,
void xas_spatial_scene_destroy(xas_spatial_scene *scene);
void xas_spatial_scene_set_observer(xas_spatial_scene *scene,
- xas_spatial_coord coord,
+ xas_spatial_coord point,
xas_spatial_coord rotation,
float width);
@@ -85,12 +85,12 @@ int xas_spatial_scene_set_speed(xas_spatial_scene *scene, float speed);
int xas_spatial_scene_set_radius(xas_spatial_scene *scene, float radius);
xas_spatial_object *xas_spatial_scene_add_object(xas_spatial_scene *scene,
- xas_spatial_coord coord,
+ xas_spatial_coord point,
xas_audio_stream *source);
void xas_spatial_scene_position_object(xas_spatial_scene *scene,
xas_spatial_object *object,
- xas_spatial_coord coord);
+ xas_spatial_coord point);
void xas_spatial_object_get_coord(xas_spatial_object *object,
xas_spatial_coord *coord);