mirror of
https://github.com/RustAudio/rodio
synced 2024-12-14 06:02:31 +00:00
Merge pull request #224 from azriel91/use-nalgebra-for-spatial-source
Use nalgebra for Spatial source
This commit is contained in:
commit
f5c08de1c0
4 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
||||||
# Unreleased
|
# Unreleased
|
||||||
|
|
||||||
- Remove exclusive `&mut` borrow requirements in `Sink` & `SpatialSink` setters.
|
- Remove exclusive `&mut` borrow requirements in `Sink` & `SpatialSink` setters.
|
||||||
|
- Use `nalgebra` instead of `cgmath` for `Spatial` source.
|
||||||
|
|
||||||
# Version 0.8.1 (2018-09-18)
|
# Version 0.8.1 (2018-09-18)
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ cpal = "0.8"
|
||||||
hound = { version = "3.3.1", optional = true }
|
hound = { version = "3.3.1", optional = true }
|
||||||
lazy_static = "1.0.0"
|
lazy_static = "1.0.0"
|
||||||
lewton = { version = "0.9", optional = true }
|
lewton = { version = "0.9", optional = true }
|
||||||
cgmath = "0.14"
|
nalgebra = "0.18"
|
||||||
minimp3 = { version = "0.3.2", optional = true }
|
minimp3 = { version = "0.3.2", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|
|
@ -83,12 +83,12 @@
|
||||||
|
|
||||||
#![cfg_attr(test, deny(missing_docs))]
|
#![cfg_attr(test, deny(missing_docs))]
|
||||||
|
|
||||||
extern crate cgmath;
|
|
||||||
#[cfg(feature = "flac")]
|
#[cfg(feature = "flac")]
|
||||||
extern crate claxon;
|
extern crate claxon;
|
||||||
extern crate cpal;
|
extern crate cpal;
|
||||||
#[cfg(feature = "wav")]
|
#[cfg(feature = "wav")]
|
||||||
extern crate hound;
|
extern crate hound;
|
||||||
|
extern crate nalgebra;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate lazy_static;
|
extern crate lazy_static;
|
||||||
#[cfg(feature = "vorbis")]
|
#[cfg(feature = "vorbis")]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use cgmath::{InnerSpace, Point3};
|
use nalgebra::Point3;
|
||||||
use source::ChannelVolume;
|
use source::ChannelVolume;
|
||||||
use std::fmt::Debug;
|
use std::fmt::Debug;
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
|
Loading…
Reference in a new issue