diff options
Diffstat (limited to 'include/xas')
-rw-r--r-- | include/xas/spatial.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/include/xas/spatial.h b/include/xas/spatial.h index ed5157a..f8591df 100644 --- a/include/xas/spatial.h +++ b/include/xas/spatial.h @@ -47,7 +47,11 @@ struct _xas_spatial_object { void *ctx; int flags; - xas_spatial_coord point; + xas_spatial_coord point, + heading; + + float speed; + xas_spatial_object *next; }; @@ -120,6 +124,16 @@ int xas_spatial_object_stop(xas_spatial_object *object); void xas_spatial_object_get_point(xas_spatial_object *object, xas_spatial_coord *point); +float xas_spatial_object_get_speed(xas_spatial_object *object); + +void xas_spatial_object_set_speed(xas_spatial_object *object, float speed); + +void xas_spatial_object_get_heading(xas_spatial_object *object, + xas_spatial_coord *heading); + +void xas_spatial_object_set_heading(xas_spatial_object *object, + xas_spatial_coord heading); + xas_audio_stream *xas_spatial_scene_stream_new(xas_spatial_scene *scene, size_t buffer_size); |